Search for a municipality (as a string, part of string or code) and get the corresponding coding as per the Cadastre.
catr_atom_search_munic(
munic,
to = NULL,
cache = TRUE,
update_cache = FALSE,
cache_dir = NULL,
verbose = FALSE
)A tibble.
Municipality to extract, It can be a part of a string or the cadastral code.
Optional parameter for defining the Territorial Office to which
munic belongs. This parameter is a helper for narrowing the search.
A logical whether to do caching. Default is TRUE. See
About caching section on catr_set_cache_dir().
A logical whether to update cache. Default is FALSE.
When set to TRUE it would force a fresh download of the source file.
A path to a cache directory. On NULL value (the default)
the function would store the cached files on the
tempdir.
Logical, displays information. Useful for debugging,
default is FALSE.
Other INSPIRE ATOM services:
catr_atom_get_address(),
catr_atom_get_address_db_all(),
catr_atom_get_buildings(),
catr_atom_get_buildings_db_all(),
catr_atom_get_parcels(),
catr_atom_get_parcels_db_all()
Other search:
catr_get_code_from_coords(),
catr_ovc_get_cod_munic(),
catr_ovc_get_cod_provinces()
Other databases:
catr_atom_get_address_db_all(),
catr_atom_get_buildings_db_all(),
catr_atom_get_parcels_db_all(),
catr_srs_values
# \donttest{
catr_atom_search_munic("Mad")
# }
Run the code above in your browser using DataLab