Skip to contents

See ll_osm_it_gpkg for all available files.

Usage

ll_osm_extract_it(
  level = "comuni",
  name = NULL,
  code = NULL,
  layer = "lines",
  quiet = FALSE
)

Arguments

level

One of "regioni", "provincie", "comuni". Defaults to "comuni".

name

Name of geographic entity. Check ll_osm_it_gpkg or ll_get_nuts_it() for valid names.

code

Used in alternative to name. Check ll_osm_it_gpkg or ll_get_nuts_it() for valid values.

layer

Defaults to "lines". Must be one of "points", "lines", "multilinestrings", "multipolygons", or "other_relations"

quiet

Logical, defaults to FALSE. If TRUE, supresses messages generated when reading the geopackage file.

Value

An sf object.

Examples

if (FALSE) { # \dontrun{
ll_osm_extract_it(level = "comuni", name = "Trento")
} # }