home
/
code
/
covid-19-scrapers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a8677ce
)
Update NY usage example
master
author
Siraaj Khandkar
<siraaj@khandkar.net>
Tue, 17 Mar 2020 23:23:18 +0000
(19:23 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Tue, 17 Mar 2020 23:23:18 +0000
(19:23 -0400)
README.md
patch
|
blob
|
blame
|
history
diff --git
a/README.md
b/README.md
index
ed323b2
..
a1956cc
100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-5,12
+5,15
@@
Quick and dirty. Likely to break as soon as data source HTML structure changes.
Example usage
-------------
Example usage
-------------
- $ fetch-case-count-usa-ny -h
- Usage:
fetch-case-count-usa-ny [
LOCATION]
+ $
./
fetch-case-count-usa-ny -h
+ Usage:
./fetch-case-count-usa-ny [OPTION |
LOCATION]
+ OPTION = -h | --all
LOCATION =
Albany
LOCATION =
Albany
+ Allegany
Broome
Broome
+ Clinton
Delaware
Dutchess
Erie
Delaware
Dutchess
Erie
@@
-19,22
+22,61
@@
Example usage
Monroe
Montgomery
Nassau
Monroe
Montgomery
Nassau
+ New York City
+ Onondaga
+ Ontario
Orange
Putnam
Orange
Putnam
+ Rensselaer
Rockland
Saratoga
Schenectady
Suffolk
Rockland
Saratoga
Schenectady
Suffolk
+ Sullivan
Tioga
Tompkins
Ulster
Westchester
Tioga
Tompkins
Ulster
Westchester
- New York State (Outside of NYC)
- New York City:
- Total Positive Cases (Statewide)
+ Wyoming
Default LOCATION:
Default LOCATION:
- New York City:
+ New York City
+
+ $ ./fetch-case-count-usa-ny 2> /dev/null
+ 644
+
+ $ ./fetch-case-count-usa-ny 'New York City' 2> /dev/null
+ 644
+
+ $ ./fetch-case-count-usa-ny --all 2> /dev/null
+ 1 Broome
+ 1 Clinton
+ 1 Delaware
+ 1 Herkimer
+ 1 Montgomery
+ 1 Ontario
+ 1 Rensselaer
+ 1 Sullivan
+ 1 Tioga
+ 1 Wyoming
+ 2 Allegany
+ 2 Greene
+ 2 Onondaga
+ 2 Putnam
+ 2 Tompkins
+ 5 Schenectady
+ 7 Erie
+ 8 Ulster
+ 9 Saratoga
+ 10 Monroe
+ 15 Orange
+ 16 Dutchess
+ 22 Rockland
+ 23 Albany
+ 84 Suffolk
+ 131 Nassau
+ 380 Westchester
+ 644 New York City
$ fetch-case-count-usa-ma -h
Usage: fetch-case-count-usa-ma [LOCATION]
$ fetch-case-count-usa-ma -h
Usage: fetch-case-count-usa-ma [LOCATION]
This page took
0.021796 seconds
and
4
git commands to generate.