@@ -37,7 +37,7 @@ gdrive_download(
3737 gdrive_dribble = gdrive_set_dribble(" Projects/ADP/source_data/" ),
3838 ver = 8
3939)
40- (load(adp_data.path ))
40+ (load(sub( " .rdata " , " _v008.rdata " , adp_data.path ) ))
4141
4242# ' Load the outputs of `trip_duration.R`
4343trip_data.path <- paste0(" source_data/trip_duration_" , adp_year , " _" , adp_ver , " .rdata" )
@@ -46,7 +46,7 @@ gdrive_download(
4646 gdrive_dribble = gdrive_set_dribble(" Projects/ADP/source_data/" ),
4747 ver = 3
4848)
49- (load(trip_data.path ))
49+ (load(sub( " .rdata " , " _v003.rdata " , trip_data.path ) ))
5050
5151# ' Load `cost_params`, the output of `analyses/monitoring_costs.R`.
5252cost_param.path <- paste0(" source_data/cost_params_" , adp_year , " .Rdata" )
@@ -56,7 +56,7 @@ if(file.exists(cost_param.path)) {
5656 gdrive_dribble = gdrive_set_dribble(" Projects/ADP/Monitoring Costs - CONFIDENTIAL/" ),
5757 ver = 7
5858 )
59- (load(cost_param.path ))
59+ (load(sub( " .rdata " , " _v007.rdata " , cost_param.path ) ))
6060
6161 # ' Using `fg_em` from `get_data.R`, add the number of fixed-gear EM vessels to the `cost_params` list
6262 cost_params $ EMFG $ emfg_v <- uniqueN(fg_em [FLAG %in% c(" A" , " NONE" ), PERMIT ])
@@ -72,7 +72,7 @@ if(adp_ver == "Final") {
7272 gdrive_dribble = gdrive_set_dribble(" Projects/ADP/source_data/" ),
7373 ver = 4
7474 )
75- (load(effort_prediction.path ))
75+ (load(sub( " .rdata " , " _v004.rdata " , effort_prediction.path ) ))
7676}
7777
7878# Load the ADFG statistical area shapefile.
@@ -513,7 +513,7 @@ if(adp_ver == "Draft") {
513513 gdrive_dribble = gdrive_set_dribble(" Projects/ADP/Output" ),
514514 ver = 5 # 2026 Draft ADP
515515 )
516- (load(draft_tables_name ))
516+ (load(sub( " .rdata " , " _v005.rdata " , draft_tables_name ) ))
517517 table_b1.draft <- copy(table_b1 )
518518 table_b2.draft <- copy(table_b2 )
519519 table_b3.draft <- copy(table_b3 )
0 commit comments