do_airport_attribution: do_airport_attribution

Description Usage Arguments Value

View source: R/airport_to_county_import_distrib.R

Description

Cluster Airports in close proximity

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
do_airport_attribution(
  airports_to_consider,
  airport_cluster_threshold = 80,
  shapefile_path = paste0(local_dir, "/shp/", "counties_", yr, "_", regioncode, ".shp"),
  regioncode,
  yr = 2010,
  local_dir = "data/",
  cores = 4,
  plot = FALSE
)

Arguments

airports_to_consider

data.frame of airports specific to the region of interest

airport_cluster_threshold

distance (km) in which airports should be considered clustered.

shapefile_path

file path to shapefile for region

regioncode

Region/project name

yr

Year of county population data

local_dir

local data directory

plot

logical, whether to plot tesselation maps

Value

A data.frame of airports and counties with attributions


HopkinsIDD/covidImportation documentation built on Sept. 14, 2020, 2:43 p.m.