Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Sunsets in Google Calendar Using R

DZone's Guide to

Sunsets in Google Calendar Using R

· Big Data Zone ·
Free Resource

How to Simplify Apache Kafka. Get eBook.

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!

12 Best Practices for Modern Data Ingestion. Download White Paper.

Topics:

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}