That is what happened to me with the Live Earthquake Shiny App. A few months ago, as part of the JHU Data Science Specialization course, I was tasked to build a data product demo using the shiny package in R. I'd already had some experience with shiny, but this time I wanted to build an app showing real-time data. Something people would like to monitor regularly and see if something special happened during the last couple of days.
I am not at all an expert on earthquakes, but I thought this would make a great use case for a real-time data visualization. And now, every time I hear from the news of a new earthquake episode I go to double check it in my app and see what else is going on.
The app does the following:
- Retrieve the latest version of data available from USGS website. Data comes in a .csv file and reports quakes for the past 7 days (check the exact URL in the R code).
- Subset the dataset in case the user chooses to see only data from yesterday.
- Plot earthquake data on a world map using the leaflet library.
- Calculate a few basic metrics like max and number of occurrences.
- Force a manual refresh of data if the user press the button “Update Data”.
Here is a snapshot of the app. You can use the app here in shinyapps.io server.
Also you check out the code here.
If you click on each circle some basic info about the quake are shown: place, time, magnitude and depth. Circles colors are based on the magnitude (the darker the stronger). If you wonder how I classified them from minor to strong below is the scale I used:
Hope you'll have a chance to explore it! Enjoy.
Great beat ! I wish to apprentice while you amend your site, how can i subscribe for a blog site? The account helped me a acceptable deal. I had been a little bit acquainted of this your broadcast offered bright clear idea reputation management online services
ReplyDeleteGreat Article
DeleteData Mining Projects IEEE for CSE
JavaScript Training in Chennai
Project Centers in Chennai
JavaScript Training in Chennai
I'm really enjoying the theme/design of your blog. Do you ever run into any web browser compatibility issues? A few of my blog readers have complained about my site not operating correctly in Explorer but looks great in Chrome. Do you have any suggestions to help fix this issue? search engine marketing solutions
ReplyDeleteHmm it looks like your website ate my first comment (it was extremely long) so I guess I'll just sum it up what I wrote and say, I'm thoroughly enjoying your blog. I too am an aspiring blog writer but I'm still new to the whole thing. Do you have any tips for beginner blog writers? I'd definitely appreciate it. truck rental singapore
ReplyDeleteGood day! This is my first comment here so I just wanted to give a quick shout out and say I truly enjoy reading through your blog posts. Can you recommend any other blogs/websites/forums that go over the same topics? Thanks a ton! internet marketing
ReplyDeleteI'm curious to find out what blog system you're working with? I'm having some small security issues with my latest blog and I would like to find something more safeguarded. Do you have any recommendations?
ReplyDeleteconference organiser in singapore
Please let me know if you're looking for a author for your weblog. You have some really good posts and I think I would be a good asset. If you ever want to take some of the load off, I'd absolutely love to write some content for your blog in exchange for a link back to mine. Please send me an email if interested. Many thanks! Surface Protection Film
ReplyDeleteThank you for some other informative website. Where else may I am getting that kind of information written in such an ideal way? I've a undertaking that I am simply now working on, and I have been at the glance out for such information. website maintenance
ReplyDeleteHello! This is my first comment here so I just wanted to give a quick shout out and say I really enjoy reading through your blog posts. Can you recommend any other blogs/websites/forums that go over the same subjects? Thanks a lot! SEO package
ReplyDeleteHey would you mind letting me know which hosting company you're using? I've loaded your blog in 3 different browsers and I must say this blog loads a lot quicker then most. Can you suggest a good hosting provider at a reasonable price? Cheers, I appreciate it!
ReplyDeletenear me keywords
Greetings from Florida! I'm bored at work so I decided to check out your website on my iphone during lunch break. I enjoy the info you present here and can't wait to take a look when I get home. I'm shocked at how fast your blog loaded on my phone .. I'm not even using WIFI, just 3G .. Anyhow, superb site!
ReplyDeletemarketing companies Singapore
In the event that you need to turn into an ace in Big Data examination and need to turn into an expert Data Scientist you should learn Hadoop Training Chennai and you have to accomplish more research with the gigantic measure of information. ExcelR Data Science Courses
ReplyDeleteThank you for the good writeup. It in fact was a amusement account it. Look advanced to far added agreeable from you! By the way, how can we communicate?
ReplyDeleteSingapore hotel promotion
I think this is among the most important info for me. And i'm glad reading your article. But want to remark on few general things, The website style is ideal, the articles is really great. digital marketing singapore
ReplyDeleteHello! I know this is kind of off topic but I was wondering which blog platform are you using for this website? I'm getting sick and tired of Wordpress because I've had issues with hackers and I'm looking at options for another platform. I would be fantastic if you could point me in the direction of a good platform. military gear
ReplyDeleteI have express a few of the articles on your website now, and I really like your style of blogging. I added it to my favorite’s blog site list and will be checking back soon… yallakora
ReplyDeleteI think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. Earthquakes
ReplyDeleteI think this is a really good article. You make this information interesting and engaging. You give readers a lot to think about and I appreciate that kind of writing. website design agency
ReplyDeleteHi! I could have sworn I've been to this site before but after browsing through some of the post I realized it's new to me. Nonetheless, I'm definitely glad I found it and I'll be book-marking and checking back often! automated warehouse system
ReplyDeleteHi there are using Wordpress for your site platform? I'm new to the blog world but I'm trying to get started and set up my own. Do you require any coding expertise to make your own blog? Any help would be really appreciated! landed property interior design singapore
ReplyDeleteI recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Web automation
ReplyDeleteHi there! I just wanted to ask if you ever have any trouble with hackers? My last blog (wordpress) was hacked and I ended up losing a few months of hard work due to no backup. Do you have any methods to stop hackers? creative marketing agency Singapore
ReplyDeleteThis can be a decent post. This post give really quality data. I'm certainly going to investigate it. Truly exceptionally valuable tips are shown here. much obliged for you to this extent. Continue the acts of kindness. funeral services
ReplyDeleteYou might comment on the order system of the blog. You should chat it's splendid. Your blog audit would swell up your visitors. I was very pleased to find this site.I wanted to thank you for this great read!!
ReplyDelete360DigiTMG data analytics course hyderabad
data science courses
business analytics course
Hi! I know this is somewhat off topic but I was wondering which blog platform are you using for this site? I'm getting sick and tired of Wordpress because I've had problems with hackers and I'm looking at options for another platform. I would be fantastic if you could point me in the direction of a good platform. filing for divorce singapore
ReplyDeleteI'm really enjoying the design and layout of your site. It's a very easy on the eyes which makes it much more enjoyable for me to come here and visit more often. Did you hire out a designer to create your theme? Outstanding work! making a will in singapore
ReplyDeleteI really appreciate this post. I¡¦ve been looking everywhere for this! Thank goodness I found it on Bing. You've made my day! Thanks again https://royalcbd.com/product/cbd-gummies-10mg/
ReplyDeleteGreetings! I know this is kinda off topic but I was wondering if you knew where I could locate a captcha plugin for my comment form? I'm using the same blog platform as yours and I'm having difficulty finding one? Thanks a lot! Singapore divorce lawyer free consultation
ReplyDelete