Site icon R-bloggers

My Pocket Change

[This article was first published on Val Systems, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
I’m playing around with some personal data collection, and using some cloud computing to visualize it. Following the directions in this blog post, I’ve written an R function which visualizes data it draws from a Google Docs spreadsheet, and uploaded it to OpenCPU’s servers. The plots you’re seeing in this post were actually generated by OpenCPU when you loaded this page, meaning they’re live!


So, I’ve been logging, daily, my pocket change. The first plot shows the cumulative growth of the change in my change jar by 3 different measures, raw number of each kind of coin, total value as contributed by each kind of coin, and total mass contributed by each kind of coin (based on official data on how much each kind of coin should weigh).


This plot shows the proportional contribution each coin makes to each measure. The first panel shows what percent of all my coins belong to each type, the second panel shows how much each coin contributes to the over-all value proportionally, and the third how much each kind of coin contributes to  the over-all mass.


So, depending on how long I keep this habit up, if you keep checking in on this post, you’ll see new plots every day.

I have two primary motivations for logging my coins. First, last time I cashed in all my change, someone asked me how long it took me to save it up, and I had no idea! Second, I’m curious to see how much effort I’m putting into carrying around relatively heavy coins, like pennies, for their small contribution to the over-all value of my coin jar.

To leave a comment for the author, please follow the link and comment on their blog: Val Systems.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.