Over a million developers have joined DZone.

Sunsets in Google Calendar Using R

DZone's Guide to

Sunsets in Google Calendar Using R

· Big Data Zone ·
Free Resource

The open source HPCC Systems platform is a proven, easy to use solution for managing data at scale. Visit our Easy Guide to learn more about this completely free platform, test drive some code in the online Playground, and get started today.

Given the huge amount of data floating around the web, sometimes it can be a bit overwhelming to figure out what to do with it. How do you sort what is useful from what is noise? Blogger Hillary Parker  posted a fun project  mining data with R in order to set appointments to catch the sunset:

I decided to create some Google Calendar “appointments” for myself, using R and specifically the sunrise.set() function (thanks Carlos!). Because I’m a big user of Google Now, this means that–based on my location and travel time–my phone will buzz at me and tell me to leave for the Promenade in time to see the sunset.

And it's no surprise this little bit of ingenuity was a priority for Parker, given the photos she shared of her vantage point on the Brooklyn promenade:

There's a more thorough tutorial on her original blog post . Taking a few lines of code to cull some natural beauty from the vast swarm of data is totally worth it!

Managing data at scale doesn’t have to be hard. Find out how the completely free, open source HPCC Systems platform makes it easier to update, easier to program, easier to integrate data, and easier to manage clusters. Download and get started today.


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}