From 851726db1ae32895ef5a499bc59da443be33c3c0 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Tue, 17 Mar 2020 19:23:18 -0400 Subject: [PATCH] Update NY usage example --- README.md | 54 ++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 48 insertions(+), 6 deletions(-) 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] -- 2.20.1