Update NY usage example
[covid-19-scrapers.git] / README.md
1 COVID-19 scrapers
2 =================
3
4 Quick and dirty. Likely to break as soon as data source HTML structure changes.
5
6 Example usage
7 -------------
8 $ ./fetch-case-count-usa-ny -h
9 Usage: ./fetch-case-count-usa-ny [OPTION | LOCATION]
10
11 OPTION = -h | --all
12 LOCATION =
13 Albany
14 Allegany
15 Broome
16 Clinton
17 Delaware
18 Dutchess
19 Erie
20 Greene
21 Herkimer
22 Monroe
23 Montgomery
24 Nassau
25 New York City
26 Onondaga
27 Ontario
28 Orange
29 Putnam
30 Rensselaer
31 Rockland
32 Saratoga
33 Schenectady
34 Suffolk
35 Sullivan
36 Tioga
37 Tompkins
38 Ulster
39 Westchester
40 Wyoming
41
42 Default LOCATION:
43 New York City
44
45 $ ./fetch-case-count-usa-ny 2> /dev/null
46 644
47
48 $ ./fetch-case-count-usa-ny 'New York City' 2> /dev/null
49 644
50
51 $ ./fetch-case-count-usa-ny --all 2> /dev/null
52 1 Broome
53 1 Clinton
54 1 Delaware
55 1 Herkimer
56 1 Montgomery
57 1 Ontario
58 1 Rensselaer
59 1 Sullivan
60 1 Tioga
61 1 Wyoming
62 2 Allegany
63 2 Greene
64 2 Onondaga
65 2 Putnam
66 2 Tompkins
67 5 Schenectady
68 7 Erie
69 8 Ulster
70 9 Saratoga
71 10 Monroe
72 15 Orange
73 16 Dutchess
74 22 Rockland
75 23 Albany
76 84 Suffolk
77 131 Nassau
78 380 Westchester
79 644 New York City
80
81 $ fetch-case-count-usa-ma -h
82 Usage: fetch-case-count-usa-ma [LOCATION]
83
84 LOCATION =
85 Boston:
86 Massachusetts:
87
88 Default LOCATION:
89 Boston:
90
91 $ fetch-case-count-usa-ny 2> /dev/null
92 329
93
94 $ fetch-case-count-usa-ma 2> /dev/null
95 29
96
97 $ fetch-case-count-usa-ny 'Total Positive Cases (Statewide)' 2> /dev/null
98 729
99
100 $ fetch-case-count-usa-ma 'Massachusetts:' 2> /dev/null
101 164
This page took 0.040681 seconds and 4 git commands to generate.