Learn R Programming

cartographer (version 0.2.1)

map_sfc: Retrieve geometry of a single location.

Description

Retrieve geometry of a single location.

Usage

map_sfc(feature_names, feature_type)

Value

The geometry as a sfc object.

Arguments

feature_names

Name of the feature(s) to retrieve. This must be an exact case-sensitive match, and aliases are not consulted.

feature_type

Type of map feature. See feature_types() for a list of registered types.

Examples

Run this code
map_sfc("Ashe", "sf.nc")
map_sfc(c("Craven", "Buncombe"), "sf.nc")

Run the code above in your browser using DataLab