How to Read This Project Structure:

Project Structure:

/home/data_scientist/work/
    climate_analysis/
        src/
            main.R
            helpers/
                data_cleaner.R
        data/
            raw/
                temperature.csv
                precipitation.csv
            processed/
                clean_data.rds
        results/
            figures/
                temperature_trend.png
            reports/
                climate_report.pdf
        

1. Relative Path in R

In the main.R script, what's the relative path to read temperature.csv?

2. Absolute Path in R

What's the absolute path to save climate_report.pdf?

3. Bonus: Relative Path from Helper

In data_cleaner.R, what's the relative path to save clean_data.rds?