Learn R Programming

geobr (version 1.6)

read_disaster_risk_area: Download spatial data of disaster risk areas

Description

This function reads the the official data of disaster risk areas in Brazil. It specifically focuses on geodynamic and hydro-meteorological disasters capable of triggering landslides and floods. The #' data set covers the whole country. Each risk area polygon (known as 'BATER') has unique code id (column 'geo_bater'). The data set brings information on the extent to which the risk area polygons overlap with census tracts and block faces (column "acuracia") and number of ris areas within each risk area (column 'num'). Original data were generated by IBGE and CEMADEN. For more information about the methodology, see deails at https://www.ibge.gov.br/geociencias/organizacao-do-territorio/tipologias-do-territorio/21538-populacao-em-areas-de-risco-no-brasil.html

Usage

read_disaster_risk_area(year = 2010, simplified = TRUE, showProgress = TRUE)

Arguments

year

A year number in YYYY format. Defaults to 2010

simplified

Logic FALSE or TRUE, indicating whether the function returns the data set with original' resolution or a data set with 'simplified' borders. Defaults to TRUE. For spatial analysis and statistics users should set simplified = FALSE. Borders have been simplified by removing vertices of borders using sf::st_simplify() preserving topology with a dTolerance of 100.

showProgress

Logical. Defaults to TRUE display progress bar

Value

An "sf" "data.frame" object

Examples

Run this code
# NOT RUN {
 if (interactive()) {
# Read all disaster risk areas in an specific year
d <- read_disaster_risk_area(year=2010)
}
# }

Run the code above in your browser using DataLab