Over a million developers have joined DZone.

Sunsets in Google Calendar Using R

· Big Data Zone

Learn how you can maximize big data in the cloud with Apache Hadoop. Download this eBook now. Brought to you in partnership with Hortonworks.

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!

Hortonworks DataFlow is an integrated platform that makes data ingestion fast, easy, and secure. Download the white paper now.  Brought to you in partnership with Hortonworks

Topics:

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

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

{{ parent.tldr }}

{{ parent.urlSource.name }}