Create a database containing the urls provided in the INSPIRE ATOM service of the Spanish Cadastre for extracting cadastral parcels.
catr_atom_get_parcels_db_all() provides a top-level table including
information of all the territorial offices (except Basque Country and
Navarre) listing the municipalities included on each office.
catr_atom_get_parcels_db_to() provides a table for the specified
territorial office including information for each of the municipalities
of that office.
catr_atom_get_parcels_db_all(
  cache = TRUE,
  update_cache = FALSE,
  cache_dir = NULL,
  verbose = FALSE
)catr_atom_get_parcels_db_to(
  to,
  cache = TRUE,
  update_cache = FALSE,
  cache_dir = NULL,
  verbose = FALSE
)
A tibble with the information requested.
catr_atom_get_parcels_db_all() includes the following fields:
territorial_office: Territorial office, corresponding to each province
of Spain expect Basque Country and Navarre.
url: ATOM url for the corresponding territorial office.
munic: Name of the municipality.
date: Reference date of the data. Note that the information of
this service is updated twice a year.
catr_atom_get_parcels_db_to() includes the following fields:
munic: Name of the municipality.
url: url for downloading information of the corresponding municipality.
date: Reference date of the data. Note that the information of
this service is updated twice a year.
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.
Territorial office. It can be any type of string, the function
would perform a search using base::grep().
INSPIRE API functions:
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_wfs_get_address_bbox(),
catr_wfs_get_buildings_bbox(),
catr_wfs_get_parcels_bbox(),
catr_wms_get_layer()
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_search_munic()
Other parcels: 
catr_atom_get_parcels(),
catr_wfs_get_parcels_bbox()
Other databases: 
catr_atom_get_address_db_all(),
catr_atom_get_buildings_db_all(),
catr_atom_search_munic(),
catr_srs_values
# \donttest{
catr_atom_get_parcels_db_all()
# }
Run the code above in your browser using DataLab