add_aadt: add average annual daily traffic to geocoded data

add_aadtR Documentation

add average annual daily traffic to geocoded data

Description

add average annual daily traffic to geocoded data

Usage

add_aadt(d, buffer_radius = 400)

Arguments

d

data.frame or tibble with columns called 'lat', 'lon'

buffer_radius

buffer radius in meters, defaults to 400 m

Value

the input dataframe, with lengths, vehicle meters for all vehicle types, and vehicle meters for trucks for both moving (interstates, freeways, and expressways) and stop-and-go (arterial roads) traffic.

Examples

if (FALSE) {
d <- tibble::tribble(
     ~id,         ~lat,    ~lon,
     '55000100280', 39.2, -84.6,
     '55000100281', 39.2, -84.6,
     '55000100282', 39.2, -84.6)

   add_aadt(d)
}

geomarker-io/addAadtData documentation built on April 14, 2022, 7:41 p.m.