Data and scripts in support of published manuscript: https://www.pnas.org/doi/full/10.1073/pnas.2006853117
This is an Rproject with a complex workflow that requires manual transfer of data between local PC, Google Earth Engine and Amazon Web Services. Therefore it is not a seamless workflow and anyone interested in comonents of the analysis are encouraged to contact Zander Venter: zander.venter@nina.no
Due to GitHub data file limitations, there are three CSV files that have been truncated to save space. Please use the full data stored at Zenodo: https://zenodo.org/records/11064640
This applies to files:
- "./DATA/Stations/openaq/city_day_agg.csv"
- "./DATA/Stations/openaq/city_day_agg_cleaned.csv"
- "./DATA/Stations/Climate/gfsDaily_allcities_updated.csv"
The scripts should be run in the following order:
- Setup.R
- Lockdown_prepare.R
- Station_prepare.R
- Sateillte_analysis.R
- Station_analysis.R
- Mobility_vs_pollution.R
The "SQL_queries.R" file contains SQL queries that are run on Athena AWS to fetch data from OpenAQ. See here fore more: https://registry.opendata.aws/openaq/