Ad README with example usage
authorSiraaj Khandkar <siraaj@khandkar.net>
Mon, 16 Mar 2020 17:45:44 +0000 (13:45 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Mon, 16 Mar 2020 17:45:44 +0000 (13:45 -0400)
README.md [new file with mode: 0644]

diff --git a/README.md b/README.md
new file mode 100644 (file)
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
This page took 0.01558 seconds and 4 git commands to generate.