Description Usage Arguments Examples
Function 'import_db' the specified dataset.
1 | import_db(dataset)
|
dataset |
is a character specifiying the dataset to request. Current datasets available are: - "Peru_names": Returns the name of the 1874 districts, 196 provinces and 25 regions of Perú as they are reported by the INEI in the REDATAM platform for the 2017 CENSUS. - "Peru_shp": Returns the shapefile for thethe 1874 districts, 196 provinces and 25 regions of Perú |
1 2 3 4 5 6 7 8 9 10 | df <- data.frame(
reg = c(
"LIMA", "CALLAO", "CAJAMARCA", "AMAZONAS", "SAN MARTIN", "HUANUCO",
"PASCO", "JUNIN", "CUSCO", "PUNO", "APURIMAC", "AYACUCHO",
"HUANCAVELICA", "TUMBES", "PIURA", "LAMBAYEQUE", "LA LIBERTAD",
"ANCASH", "ICA", "AREQUIPA", "TACNA", "MOQUEGUA", "LORETO", "UCAYALI",
"MADRE DE DIOS"
),
stringsAsFactors = FALSE
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.