read_health_facilities: Download geolocated data of health facilities

View source: R/read_health_facilities.R

read_health_facilitiesR Documentation

Download geolocated data of health facilities

Description

Data comes from the National Registry of Healthcare facilities (Cadastro Nacional de Estabelecimentos de Saude - CNES), originally collected by the Brazilian Ministry of Health. According to the Ministry of Health: "The coordinates of each facility were obtained by CNES and validated by means of space operations. These operations verify if the point is in the municipality, considering a radius of 5,000 meters. When the coordinate is not correct, further searches are done in other systems of the Ministry of Health and in web services like Google Maps. Finally, if the coordinates have been correctly obtained in this process, the coordinates of the municipal head office are used. The geocode source used is registered in the database in a specific column data_source. Periodically the coordinates are revised with the objective of improving the quality of the data." The date of the last data update is registered in the database in the columns date_update and year_update. More information available at https://dados.gov.br/dataset?q=CNES. These data use Geodetic reference system "SIRGAS2000" and CRS(4674).

Usage

read_health_facilities(showProgress = TRUE)

Arguments

showProgress

Logical. Defaults to TRUE display progress bar.

Value

An "sf" "data.frame" object

Examples

## Not run:  if (interactive()) {
# Read all health facilities of the whole country
h <- read_health_facilities()
}
## End(Not run)

geobr documentation built on Aug. 16, 2022, 9:05 a.m.