From: Siraaj Khandkar Date: Mon, 16 Mar 2020 17:45:44 +0000 (-0400) Subject: Ad README with example usage X-Git-Url: https://git.xandkar.net/?p=covid-19-scrapers.git;a=commitdiff_plain;h=cfe8b553baebe5f8492a3bdebe5a65c594d8e157 Ad README with example usage --- diff --git a/README.md b/README.md new file mode 100644 index 0000000..ed323b2 --- /dev/null +++ b/README.md @@ -0,0 +1,59 @@ +COVID-19 scrapers +================= + +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] + + LOCATION = + Albany + Broome + Delaware + Dutchess + Erie + Greene + Herkimer + Monroe + Montgomery + Nassau + Orange + Putnam + Rockland + Saratoga + Schenectady + Suffolk + Tioga + Tompkins + Ulster + Westchester + New York State (Outside of NYC) + New York City: + Total Positive Cases (Statewide) + + Default LOCATION: + New York City: + + $ fetch-case-count-usa-ma -h + Usage: fetch-case-count-usa-ma [LOCATION] + + LOCATION = + Boston: + Massachusetts: + + Default LOCATION: + Boston: + + $ fetch-case-count-usa-ny 2> /dev/null + 329 + + $ fetch-case-count-usa-ma 2> /dev/null + 29 + + $ fetch-case-count-usa-ny 'Total Positive Cases (Statewide)' 2> /dev/null + 729 + + $ fetch-case-count-usa-ma 'Massachusetts:' 2> /dev/null + 164