Skip to contents

Query the OVCCallejero ConsultaProvincia service to retrieve provinces and their Spanish Cadastre codes.

Usage

catr_ovc_get_cod_provinces(verbose = FALSE)

Arguments

verbose

Logical. If TRUE, displays informational messages.

Value

A tibble with province names and codes. Returns NULL if the request fails.

References

ConsultaProvincia.

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()
#> # A tibble: 48 × 2
#>    cpine np       
#>    <chr> <chr>    
#>  1 15    A CORUÑA 
#>  2 03    ALACANT  
#>  3 02    ALBACETE 
#>  4 04    ALMERIA  
#>  5 33    ASTURIAS 
#>  6 05    AVILA    
#>  7 06    BADAJOZ  
#>  8 08    BARCELONA
#>  9 09    BURGOS   
#> 10 10    CACERES  
#> # ℹ 38 more rows
# }