Query the OVCCallejero ConsultaProvincia service to retrieve provinces and their Spanish Cadastre codes.
Value
A tibble with province names and codes. Returns
NULL if the request fails.
See also
Query OVC province and municipality codes:
catr_ovc_get_cod_munic()
Search for cadastral identifiers:
catr_atom_search_munic(),
catr_get_code_from_coords(),
catr_ovc_get_cod_munic()
Examples
# \donttest{
catr_ovc_get_cod_provinces()
#> ✖ The request could not be completed.
#> ! Failed to perform HTTP request.
#> Caused by error in `curl::curl_fetch_memory()`:
#> ! Failure when receiving data from the peer [ovc.catastro.meh.es]:
#> Recv failure: Connection reset by peer
#> → Returning "NULL" because the request failed.
#> NULL
# }
