Project Status: In development :warning:
geobage is an R
package that allows users to easily access spatial data sets in the municipality of Bagé / RS. The package includes a wide variety of geospatial data as simple resources. Were obtained from several sources for the acquisition of the original files in shapefile, later converted into GeoJSON
, other geospatial data were generated by the sector of GeoInformation.
# Use the development version with latest features
utils::remove.packages('geobage')
devtools::install_github("GeoInformacao/geobage")
library(geobage)
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 |
| Function | Geographies available | Source | |:----------------------------:|:----------------------------------:|:------:| | read_paving_bg* | Paving | PMB | | ... | ... | .... |
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:
R
, RStudio
and geobr
package..geojson
cartographic basesAdd the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.