Closed Robinlovelace closed 3 years ago
Heads-up @joeytalbot I'm rebuilding all affected sites and should have this fixed soon.
Code used to find the errant sites:
# find sites with disag data (run once and then can remove)
i = 1
has_synthetic_data = function(site_name) {
f = file.path("data-small", site_name, "routes-fast.geojson")
r = sf::read_sf(f)
any(grepl(pattern = "^i|synthetic", x = r$geo_code2))
}
sel_synthetic = sapply(sites$site_name, has_synthetic_data)
site_names_to_build = site_names_to_build[sel_synthetic]
Linked with #126
Discussed with @joeytalbot - not a priority but worth flagging.