Project Status: In development
rBage is an R
package that allows users to easily access spatial datasets in the municipality of Bagé/RS. The package includes a wide variety of data. They were obtained from several sources for the acquisition of the original files in shapefile, later converted into GeoJSON
, other data were generated by the GeoInformation sector and also using other information packages such as geobr and
flightsbr for example.
# Use the development version with latest features
utils::remove.packages('rBage')
devtools::install_github("GeoInformacao/rBage")
library(rBage)
Obs 1 - Before installing the package, clean the current session or start a new session.
Obs 2 - If you use Linux, you need to install a couple dependencies before installing the libraries sf, geobr and geojsonio. More info here.
The syntax of all geobage functions operate from the same logic, making it intuitive to obtain data using a single line of code. Such that:
# Read shape municipality
mun <- read_shape_bg()
# Read all health facilitie of municipality Bagé
mun <- read_health_facilities_bg()
# Read census tract (setor censitário) of municipality Bagé
mun <- read_census_tract_bg()
Function | Geographies available | Source |
---|---|---|
read_aerodromes_bg | Aerodromes | ANAC |
read_allotments_bg | Allotments | .... |
read_bathed_bg | Bathed | .... |
read_biome_pampa_bg | Biome | IBGE |
read_census_tract_bg | Census Tract (setor censitário) | IBGE |
read_compreb_bg | Iphan Listed Properties | PMB* |
read_conservation_unit_bg | Conservation Unit | MMA |
read_dam_bg | Dams in the Municipality | ANA |
read_districts_bg | Districts of Bage | PMB* |
read_drainage_mass_stretch_bg | Drainage Mass Stretch | ANA |
read_drainage_stretch_bg | Drainage Stretch | ANA |
read_environmental_sensitivity_bg | Environmental Sensitivity | FEPAM |
read_geology_bg | Geology | IBGE |
read_geomorphology_bg | Geomorphology | IBGE |
read_hydro_stratified_unit_bg | Hydro-Stratified Unit | ANA |
read_hydrogeology_bg | Hydrogeology | ANA |
read_hydrography_bg | Hydrography | ANA |
read_health_facilities_bg | Health Facilitie | CNES, DataSUS |
read_immediate_region_bg | Immediate Region | IBGE |
read_info_bg | Information About the Municipality of Bagé | IBGE |
read_intermediate_region_bg | Intermediate Region | IBGE |
read_land_use_bg | Land Use | .... |
read_legal_reserve_bg | Legal Reserve | .... |
read_level_curve_bg | Level Curve | .... |
read_macro_urban_areas_bg | Macro Urban Areas | PMB* |
read_mass_water_bg | Bodies of Water | ANA |
read_meso_region_bg | Meso Region | IBGE |
read_micro_region_bg | Micro Region | IBGE |
read_milk_production_bg | Milk Production | .... |
read_municipal_seat_bg | Municipality Seat | IBGE |
read_paleontology_bg | Paleontology | CPRM |
read_park_gaucho_bg | Park Gaucho | PMB* |
read_paved_highways_bg | Paved Highways | .... |
read_pedology_bg | Pedology | IBGE |
read_public_buildings_bg | Public Buildings | PMB* |
read_public_rural_properties_bg | Public Rural Properties | .... |
read_railways_bg | Rail Lines | DIVA |
read_rural_lots_bg | Rural Lots | CAR |
read_rural_roads_bg | Rural Roads | .... |
read_schools_bg | Schools | .... |
read_shape_bg | Municipality of Bagé | IBGE |
read_sand_banks_bg | Sand Banks | PMB* |
read_soil_exploration_bg | Soil Exploration | .... |
read_soil_types_bg | Soil Types | .... |
read_transmission_lines_bg | Transmission Lines | ANATEL |
read_springs_bg | Springs | .... |
read_unpaved_highways_bg | Unpaved Highways | DIVA |
read_urban_area_bg | Urban Footprint | IBGE |
read_use_ground_cover_bg | Use Ground Cover | .... |
read_vegetation_bg | Vegetation | IBGE |
read_paving_bg** | Paving | PMB* |
read_flights_bg | National and International Flights | .... |
read_airports_bg | Private and Public Airports | .... |
read_aircrafts_bg | Aircrafts Data | .... |
read_airfares_bg | Data on Airfares of Domestic or International Flights | .... |
... | .... | .... |
- PMB - Bage City Hall, Geoinformation Sector
- read_paving_bg() - Function under review
If you want to contribute to geobage and add new functions or datasets, please check this guide to propose your contribution.
Main revisions, in order of priority, required from employees:
- Review of versions
R
,RStudio
andgeobr
package. - Review of package functions.
- Review of
.geojson
cartographic bases
Rodrigo R Silva 👨🚀 |
Cassio P A Antoria 👨🚀 |
![]() |
![]() |
---|---|
Prefeitura Municipal de Bagé | GeoInformação |
The original shapefiles are created by official government institutions. The rBage package uses the geobr package as the basis for some functions. The geobr package is developed by a team from the Institute of Applied Economic Research (Ipea) and the geobage package is developed by a team from the GeoInformation sector of the Municipality of Bagé / RS, Brazil. If you want to quote this package, you can quote it as:
Silva,R.R.;Antoria,C.P.A.; (2022) rBage: Sharing data from the municipality of Bagé.
GitHub repository - https://github.com/GeoInformacao/rBage.
A BibTeX entry for LaTeX users is:
@Misc {rBage,
title = {rBage: Sharing data from the municipality of Bag{\'e}},
author = {Silva,Rodrigo Rosa da. and Antoria,Cassio Pimento Araujo.},
note= {pacote R versão 0.1},
year = {2022},
url = {https://github.com/GeoInformacao/rBage}
}