Closed aedobbyn closed 4 years ago
Sure. You'd need to install R, install all the packages listed here.
The script can be run interactively from the R console (open a terminal and type R
or use an IDE like RStudio) or non-interactively from the command line with
Rscript <path-to-script>
You would need the gitignored files I mentioned. I haven't tried running this non-interactively, but there is an interactive prompt to authorize googlesheets to read in the raw data here but hopefully that wouldn't be a problem in non-interactive mode.
Can you write down those steps in a file in docs/? I'm sure that anyone can figure it out on their own, but it is good to add things to the docs file so that they are visible.
Hi! This PR covers the Japan data summarization.
The
jp.R
pulls in data from this sheet to generate this CSV.The geocoding to get lat and long was done using the Google Maps API which requires a key (the file is gitignored). The
googlesheets
package also requries OAuth and a hidden file, so if we wanted to automate this we'd need to get those files up on whatever server is running this.