catrnav_atom_get_address: ATOM INSPIRE: Download all the cadastral addresses of a...

View source: R/atom_ad.R

catrnav_atom_get_addressR Documentation

ATOM INSPIRE: Download all the cadastral addresses of a municipality

Description

Get the spatial data of all the cadastral addresses belonging to a single municipality using the INSPIRE ATOM service.

Usage

catrnav_atom_get_address(
  munic,
  cache = TRUE,
  update_cache = FALSE,
  cache_dir = NULL,
  verbose = FALSE
)

Arguments

munic

Municipality to extract, It can be a part of a string or the cadastral code. See catrnav_atom_get_address_db_all.

cache

A logical whether to do caching. Default is TRUE. See About caching section on catrnav_set_cache_dir().

update_cache

A logical whether to update cache. Default is FALSE. When set to TRUE it would force a fresh download of the source file.

cache_dir

A path to a cache directory. On missing value the function would store the cached files on a temporary dir (See base::tempdir()).

verbose

Logical, displays information. Useful for debugging, default is FALSE.

Value

A sf object.

References

SITNA – Catastro de Navarra

See Also

Other ATOM: catrnav_atom_get_address_db_all(), catrnav_atom_get_buildings(), catrnav_atom_get_buildings_db_all(), catrnav_atom_get_parcels(), catrnav_atom_get_parcels_db_all()

Other addresses: catrnav_atom_get_address_db_all()

Examples



s <- catrnav_atom_get_address("Iruña")

library(ggplot2)

ggplot(s) +
  geom_sf() +
  labs(
    title = "Addresses",
    subtitle = "Pamplona / Iruña"
  )


rOpenSpain/CatastRoNav documentation built on April 17, 2025, 3:13 a.m.