Closed eroten closed 5 months ago
Functions, both with documentation and tests
calculate_emissions()
calculate_vmt()
Datasets. Each has an associated metadata and live in /_transportation/data/
Documentation. All started, none completed
county_vmt_emissions.RDS head()
head()
# A tibble: 6 × 21 analysis_name mode_of_travel year vehicle_type vehicle_weight vehicle_weight_label zone vmt_same vmt_origin vmt_destination vmt_total moves_year <chr> <chr> <dbl> <chr> <ord> <ord> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> 1 CPRG_County_OD… All Vehicles … 2021 passenger Passenger Light-duty Anoka 1.31e9 6.88e8 687832536. 2.68e9 2019 2 CPRG_County_OD… All Vehicles … 2021 passenger Passenger Light-duty Carv… 3.44e8 2.15e8 219419403. 7.79e8 2019 3 CPRG_County_OD… All Vehicles … 2021 passenger Passenger Light-duty Chis… 1.97e8 1.62e8 159271035 5.18e8 2019 4 CPRG_County_OD… All Vehicles … 2021 passenger Passenger Light-duty Dako… 1.59e9 7.13e8 717939214. 3.02e9 2019 5 CPRG_County_OD… All Vehicles … 2021 passenger Passenger Light-duty Henn… 4.36e9 1.44e9 1439467126. 7.23e9 2019 6 CPRG_County_OD… All Vehicles … 2021 passenger Passenger Light-duty Pier… 1.14e8 9.00e7 88647550 2.92e8 2019 # ℹ 9 more variables: co2 <dbl>, co2_co2_equivalent <dbl>, ch4 <dbl>, n2o <dbl>, total_co2 <dbl>, total_ch4 <dbl>, total_n2o <dbl>, # total_co2_w_equiv <dbl>, emissions_metric_tons_co2e <dbl>
Please complete this checklist as a courtesy to the PR reviewer.
Code and styling
setwd()
file.path(here::here(), "file_name"))
renv::install()
styler::style_dir(".", recursive = TRUE, filetype = c("R", "qmd"))
councilR::plotly_layout()
out.width: "95%"
out.height: "60%"
Document editing
#| fig.cap: "{caption here}"
out.width
out.height
render_for_publication.R
GitHub and project management
Transportation emissions
Functions, both with documentation and tests
calculate_emissions()
calculate_vmt()
Datasets. Each has an associated metadata and live in /_transportation/data/
Documentation. All started, none completed
county_vmt_emissions.RDS
head()
Checklist
Please complete this checklist as a courtesy to the PR reviewer.
Code and styling
setwd()
file.path(here::here(), "file_name"))
to source any scripts or read in datarenv::install()
styler::style_dir(".", recursive = TRUE, filetype = c("R", "qmd"))
councilR::plotly_layout()
?out.width: "95%"
andout.height: "60%"
Document editing
#| fig.cap: "{caption here}"
out.width
andout.height
in percentage format in figure configurationrender_for_publication.R
GitHub and project management