From: Siraaj Khandkar Date: Tue, 17 Mar 2020 23:23:18 +0000 (-0400) Subject: Update NY usage example X-Git-Url: https://git.xandkar.net/?p=covid-19-scrapers.git;a=commitdiff_plain;h=851726db1ae32895ef5a499bc59da443be33c3c0 Update NY usage example --- diff --git a/README.md b/README.md index ed323b2..a1956cc 100644 --- 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 ------------- - $ 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 + Allegany Broome + Clinton Delaware Dutchess Erie @@ -19,22 +22,61 @@ Example usage Monroe Montgomery Nassau + New York City + Onondaga + Ontario Orange Putnam + Rensselaer Rockland Saratoga Schenectady Suffolk + Sullivan Tioga Tompkins Ulster Westchester - New York State (Outside of NYC) - New York City: - Total Positive Cases (Statewide) + Wyoming 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]