diff options
author | Zach Holman <zach@zachholman.com> | 2015-08-17 11:45:48 -0700 |
---|---|---|
committer | Zach Holman <zach@zachholman.com> | 2015-08-17 11:45:48 -0700 |
commit | 1c2a26f0e6b32f0c04d1067ce98220243319663f (patch) | |
tree | 8b1a3380bdb5a80bd3258913feed4085bb595d31 | |
parent | 32206717a2c0f83e7784bcc9f0f24dc5b8480f59 (diff) | |
parent | 93fd380210b1849204b91a5bc81f3c3c152443bd (diff) |
Merge pull request #89 from bpeebles/fix-usgs-example
Use new USGS API for earthquake list
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -41,14 +41,14 @@ Number of commits to the github/github Git repository, by author: ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▃▁▁▁▁▁▁▁▁▂▁▁▅▁▂▁▁▁▂▁▁▁▁▁▁▁▁▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁ ``` -Magnitude of earthquakes over 1.0 in the last 24 hours: +Magnitude of earthquakes worldwide 2.5 and above in the last 24 hours: ```sh -› curl http://earthquake.usgs.gov/earthquakes/catalogs/eqs1day-M1.txt --silent | +› curl earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_day.csv --silent | sed '1d' | - cut -d, -f9 | + cut -d, -f5 | spark - ▅▆▂▃▂▂▂▅▂▂▅▇▂▂▂▃▆▆▆▅▃▂▂▂▁▂▂▆▁▃▂▂▂▂▃▂▆▂▂▂▁▂▂▃▂▂▃▂▂▃▂▂▁▂▂▅▂▂▆▆▅▃▆ +▃█▅▅█▅▃▃▅█▃▃▁▅▅▃▃▅▁▁▃▃▃▃▃▅▃█▅▁▃▅▃█▃▁ ``` Code visualization. The number of characters of `spark` itself, by line, ignoring empty lines: |