Results of the AOP project are spatially aggregated on a H3 spatial grid at resolution 9, with a side of 174 meters and an area of 0.10 km2. More information about H3 at https://h3geo.org/docs/core-library/restable/. See the documentation 'Details' for the data dictionary.

read_grid(city = NULL, showProgress = FALSE)

Arguments

city

Character. A city name or three-letter abbreviation. If city="all", the function returns data for all cities.

showProgress

Logical. Defaults to TRUE display progress bar.

Value

An sf data.frame object

Data dictionary:

Data typecolumnDescription
geographicid_hexUnique id of hexagonal cell
geographicabbrev_muniAbbreviation of city name (3 letters)
geographicname_muniCity name
geographiccode_muni7-digit code of each city

Cities available

City nameThree-letter abbreviation
Belembel
Belo Horizontebho
Brasiliabsb
Campinascam
Campo Grandecgr
Curitibacur
Duque de Caxiasduq
Fortalezafor
Goianiagoi
Guarulhosgua
Maceiomac
Manausman
Natalnat
Porto Alegrepoa
Reciferec
Rio de Janeirorio
Salvadorsal
Sao Goncalosgo
Sao Luisslz
Sao Paulospo

Examples

# Read spatial grid of a single city
nat <- read_grid(city = 'Natal', showProgress = FALSE)

# Read spatial grid of all cities in the project
# all <- read_grid(city = 'all', showProgress = FALSE)