From cfe8b553baebe5f8492a3bdebe5a65c594d8e157 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Mon, 16 Mar 2020 13:45:44 -0400 Subject: [PATCH] Ad README with example usage --- README.md | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 README.md 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 -- 2.20.1