Description Usage Arguments Value
View source: R/airport_to_county_import_distrib.R
Cluster Airports in close proximity
1 2 3 4 5 6 7 8 9 10 11 12 | setup_airport_attribution(
states_of_interest,
regioncode,
yr,
local_dir = "data/",
write_county_shapefiles,
mean_travel_file = file.path("data", "travel_mean.csv"),
travelers_threshold = 10000,
airport_cluster_threshold = 80,
plot = FALSE,
cores = 4
)
|
states_of_interest |
States for which to get county populations |
regioncode |
Region/project name |
yr |
Year of county population data |
local_dir |
local data directory |
write_county_shapefiles |
logical |
mean_travel_file |
Filename of monthly mean travelers into each airport in the region |
airport_cluster_threshold |
distance (km) in which airports should be considered clustered. |
plot |
logical, whether to plot tesselation maps |
cores |
number of cores to run in parallel |
airports_to_consider |
data.frame of airports specific to the region of interest |
A data.frame of airports and counties with attributions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.