Skip to content

Commit

Permalink
Test for clackmannashire
Browse files Browse the repository at this point in the history
  • Loading branch information
Robinlovelace committed Nov 27, 2024
1 parent 04f3325 commit 564956f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion code/build.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tar_source()
parameters = jsonlite::read_json("parameters.json", simplifyVector = T)
lads = sf::read_sf("inputdata/boundaries/la_regions_2023.geojson")
# To test for a single local authority:
lads = lads |> filter(LAD23NM %in% c("City of Edinburgh", "Clackmannanshire"))
lads = lads |> filter(LAD23NM %in% c("Clackmannanshire"))
date_folder = parameters$date_routing
la_names = lads$LAD23NM
output_folder = file.path("outputdata", date_folder)
Expand Down
4 changes: 2 additions & 2 deletions parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"plans": ["fastest", "balanced", "quietest", "ebike"],
"min_flow": [1],
"max_to_route": [1000000],
"date_routing": ["2024-11-31"],
"date_routing": ["2024-11-29"],
"geo_subset": [false],
"open_data_build": [false],
"disag_threshold": [100],
"min_distance_meters": [500],
"region_buffer_distance_meters": [5000],
"local_authority": ["Dumfries and Galloway"],
"local_authority": ["Clackmannanshire"],
"generate_CN_start": [true],
"coherent_sources": ["OS"],
"coherent_percentile": [0.94, 0.9]
Expand Down
6 changes: 5 additions & 1 deletion route_ids.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
nrow,plan,purpose,region,date,id
4140,ebike,commute,dumfries_and_galloway,2024-11-31,11332
991,quietest,school,clackmannanshire,2024-11-29,11476
1789,balanced,utility,clackmannanshire,NA,11471
1657,ebike,commute,clackmannanshire,NA,11468
991,balanced,school,clackmannanshire,NA,11462
4140,ebike,commute,dumfries_and_galloway,NA,11332
987,ebike,school,dumfries_and_galloway,NA,11328
987,fastest,school,dumfries_and_galloway,NA,11325
1789,fastest,utility,clackmannanshire,NA,11324
Expand Down

0 comments on commit 564956f

Please sign in to comment.