X-Git-Url: https://git.xandkar.net/?p=covid-19-scrapers.git;a=blobdiff_plain;f=README.md;fp=README.md;h=ed323b27f0a769926ce008dd06d4453307d5c378;hp=0000000000000000000000000000000000000000;hb=cfe8b553baebe5f8492a3bdebe5a65c594d8e157;hpb=0b60ba947fe0490f018137cbb9c51b01bdcb8b39 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