Learn R Programming

geomultistar (version 1.0.0)

usa_cities: USA Cities, 2014

Description

From the original dataset, some fields have been selected and renamed, and only includes the Mortality Reporting System cities.

Usage

usa_cities

Arguments

Format

A sf.

Examples

Run this code
# NOT RUN {
# Read by:
#
# filepath <- "data/citiesx010g/citiesx010g.shp"
# usa_cities <- st_read(filepath)  %>%
#   dplyr::select(
#     gnis_id = GNIS_ID,
#     ansi_code = ANSICODE,
#     city = NAME,
#     state = STATE,
#     county = COUNTY,
#     latitude = LATITUDE,
#     longitude = LONGITUDE,
#     elev_m = ELEV_IN_M
#   )

# }

Run the code above in your browser using DataLab