summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach Holman <zach@zachholman.com>2015-08-17 11:45:48 -0700
committerZach Holman <zach@zachholman.com>2015-08-17 11:45:48 -0700
commit1c2a26f0e6b32f0c04d1067ce98220243319663f (patch)
tree8b1a3380bdb5a80bd3258913feed4085bb595d31
parent32206717a2c0f83e7784bcc9f0f24dc5b8480f59 (diff)
parent93fd380210b1849204b91a5bc81f3c3c152443bd (diff)
Merge pull request #89 from bpeebles/fix-usgs-example
Use new USGS API for earthquake list
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 06619fd..72a7e84 100644
--- a/README.md
+++ b/README.md
@@ -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: