Skip to contents

Calculates at what time point the storm is closest and records the distance from track at that time.

Usage

calc_closest_dist(track, geography, geoid = "GEOID")

Arguments

geography

sf object for the area of interest

geoid

Unique identifier for geography

hurdat2

Output from get_hurdat2() or interpolated track from calc_interpolated_track()

Value

Closest distance and time to track for each geography

Examples

if (FALSE) { # \dontrun{
harvey_closest_dist <- calc_closest_dist(
  harvey_hurdat2,
  TXLA_tracts
)
} # }