Welcome to the repository for my reproducible data analysis project.
The objective of this project is to create a cross section of the Antarctic ozone hole using ozone sonde vertical profiles, emulating figures published by the NOAA Global Monitoring Laboratory – Ozone and Water Vapor division.
Visit the project notebook for a final summary of the project, styled after a typical research paper.
This is a summary of the key contents of the repository and what they do.
-
📄
functions.R
The core methodology and logic of the project, encapsulated in these functions. -
📄
_targets.R
The pipeline that performs the analysis by calling the functions above. -
📂
data/
This contains the raw data, with instructions on how to access it indata/README.md
-
📂
renv/
Along withrenv.lock
this captures the requirements that are needed to set up the environment.
These instructions apply if you want to execute the analysis pipeline on your own machine, for example if you wanted to examine the model or processed data.
-
You must have R and R Studio installed.
-
Download the raw data into the
data/
directory following the instructions provided indata/README.md
Note: You can download a subset of the available data if you want to reduce processing time in step 5.
-
Open
south-pole-ozone-hole.Rproj
to open the project in R Studio. -
Follow prompts to install the required packages.
-
In the R Console, type the following command:
targets::tar_make()
❗Processing time will vary depending on how many data files you choose to include. The time required to process 4 years worth of data is about 2 minutes on my machine.
- When the pipeline finishes, you can access any of the targets using the command
targets::tar_load(target_name)