Este mapa es calculado a partir del mapa comunal para no recargar el volumen de datos del paquete.

generar_provincias(mapa = chilemapas::mapa_comunas)

Arguments

mapa

mapa a agregar, por defecto es todo el mapa nacional

Value

Un objeto de clase sf y data.frame.

Examples

generar_provincias()
#> # A tibble: 56 × 3
#>    codigo_provincia codigo_region                                       geometry
#>    <chr>            <chr>                                         <GEOMETRY [°]>
#>  1 014              01            POLYGON ((-68.86081 -21.28512, -68.7581 -21.2…
#>  2 011              01            POLYGON ((-70.09894 -20.08504, -70.13266 -20.…
#>  3 021              02            MULTIPOLYGON (((-68.98863 -25.38016, -68.9852…
#>  4 022              02            POLYGON ((-68.66131 -23.1077, -68.65674 -23.1…
#>  5 023              02            POLYGON ((-69.19173 -22.57654, -69.14611 -22.…
#>  6 032              03            MULTIPOLYGON (((-70.68641 -26.15053, -70.6892…
#>  7 031              03            MULTIPOLYGON (((-68.36698 -26.79685, -68.3694…
#>  8 033              03            MULTIPOLYGON (((-70.07472 -28.15016, -70.0831…
#>  9 043              04            POLYGON ((-70.59578 -31.27989, -70.59126 -31.…
#> 10 041              04            MULTIPOLYGON (((-70.93196 -30.23447, -70.9307…
#> # ℹ 46 more rows