Searches for a municipality by name or cadastral code in the Cadastre of Navarre ATOM index.
Usage
catrnav_atom_search_munic(
munic,
cache = TRUE,
update_cache = FALSE,
cache_dir = NULL,
verbose = FALSE
)Arguments
- munic
Municipality name, partial name or cadastral code to search for.
- cache
A logical value indicating whether to use cached files. Defaults to
TRUE.- update_cache
Logical. Should the cached file be refreshed? Defaults to
FALSE. When set toTRUE, it forces a new download.- cache_dir
Path to a cache directory. On
NULL, the function stores cached files in a temporary directory (seebase::tempdir()).- verbose
Logical. If
TRUE, displays informational messages.
Value
A tibble with the municipality name and cadastral
code, or NULL if no match is found.
See also
Download data from the ATOM INSPIRE service:
catrnav_atom_get_address(),
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()
