dathere / covid19-time-series-utilities

several utilities to help wrangle COVID-19 data into a time-series format
Creative Commons Attribution Share Alike 4.0 International
34 stars 8 forks source link

Doesn't run on MacOS 10.5 #30

Open krolingo opened 4 years ago

krolingo commented 4 years ago

When I try to run the script I get the following errors.

I setup the database and was able to run covid19-ingest.sh, but not covid19-refine.sh

./covid19-refine.sh
Checking latest data from JHU...

Starting OpenRefine Automation!\n Creating geocoded location lookup... sed: workdir/location-lookup/covid-19-locations-recipe.json: No such file or directory readlink: illegal option -- f usage: readlink [-n] [file ...] readlink: illegal option -- f usage: readlink [-n] [file ...] readlink: illegal option -- m usage: readlink [-n] [file ...] mkdir: : No such file or directory please provide path to directory for exported files (and OpenRefine workspace) example: ./openrefine-batch.sh -c output/ Normalizing data... readlink: illegal option -- f usage: readlink [-n] [file ...] readlink: illegal option -- f usage: readlink [-n] [file ...] readlink: illegal option -- m usage: readlink [-n] [file ...] mkdir: : No such file or directory readlink: illegal option -- f usage: readlink [-n] [file ...] please provide path to directory for exported files (and OpenRefine workspace) example: ./openrefine-batch.sh -c output/

Copying to database... Creating geocoded location lookup table...FileNotFoundError: [Errno 2] No such file or directory: 'workdir/location-lookup/output/location-lookup.csv' COPY 0 UPDATE 0 Populating deaths table...workdir/normalize/output/time_series_19-covid-Deaths.csv: No such file or directory Populating confirmed table...workdir/normalize/output/time_series_19-covid-Confirmed.csv: No such file or directory Populating recovered table...workdir/normalize/output/time_series_19-covid-Recovered.csv: No such file or directory Collating normalized data...

Deriving Daily Counts...

Vacuuming/Analyzing database... 0 rows

0 locations

Run time: 1 seconds