# Ensure that data package is available before running the example.
# If it is not, see the `hurricaneexposure` package vignette for details
# on installing the required data package.
if (requireNamespace("hurricaneexposuredata", quietly = TRUE)) {
county_distance(counties = c("22071", "51700"),
start_year = 1995, end_year = 2005,
dist_limit = 75)
}
Run the code above in your browser using DataCamp Workspace