opts_read_geojson | R Documentation |
Options for reading in GeoJSON
opts_read_geojson(
type = c("sf", "sfc"),
property_promotion = c("string", "list"),
property_promotion_lgl = c("integer", "string")
)
type |
'sf' or 'sfc' |
property_promotion |
What is the most general container type to use when
properties differ across a FEATURECOLLECTION? E.g. if the property
exists both as a numeric and a string, should all values be promoted
to a 'string', or contained as different types in a 'list'.
Default: 'string' will behave like |
property_promotion_lgl |
when |
Named list of options specific to reading GeoJSON
# Create a set of options to use when reading geojson
opts_read_geojson()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.