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

Need to build an application around your data? Learn more about dataflow programming for rapid development and greater creativity. 

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!

Check out the Exaptive data application Studio. Technology agnostic. No glue code. Use what you know and rely on the community for what you don't. Try the community version.


Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

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


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

{{ parent.tldr }}

{{ parent.urlSource.name }}