All Projects → rpradosiqueira → sidrar

rpradosiqueira / sidrar

Licence: other
A R interface to IBGE's SIDRA API

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to sidrar

ibge
🌎 Data collection of geographical divisions of Brazil by IBGE (https://servicodados.ibge.gov.br/api/docs)
Stars: ✭ 28 (-42.86%)
Mutual labels:  brazil, brasil, ibge
transparencia-dados-abertos-brasil
A survey of Brazilian states' and municipalities' transparency and open data portals, as well as institutional websites, obtained from several public data sources. 🇧🇷 Levantamento de portais estaduais e municipais de transparência e dados abertos, bem como os portais institucionais, obtido a partir de diversas fontes públicas de dados.
Stars: ✭ 46 (-6.12%)
Mutual labels:  brazil, brasil, ibge
brazil-civil-registry-data
Raw scrapings of ARPEN https://transparencia.registrocivil.org.br/
Stars: ✭ 35 (-28.57%)
Mutual labels:  brazil, brasil
covid19-br-info
Coronavirus frontend info about Brazil's states and cities
Stars: ✭ 12 (-75.51%)
Mutual labels:  brazil, brasil
municipios-br
Dados em formato aberto sobre municípios e unidades federativas do Brasil.
Stars: ✭ 58 (+18.37%)
Mutual labels:  brazil, ibge
enredo
Linguagem de programação moderna em portugues, baseada em JS
Stars: ✭ 35 (-28.57%)
Mutual labels:  brazil, brasil
nuvem-candidatos
🇧🇷 Nuvem de palavras com os planos de governo dos candidatos à presidência em 2018
Stars: ✭ 20 (-59.18%)
Mutual labels:  brazil, brasil
pix-payload-generator.net
Gerar payload para qrcode estático PIX. (Sistema de pagamento instantâneo do Brasil) Sem a necessidade de conexão com um PSP.
Stars: ✭ 23 (-53.06%)
Mutual labels:  brazil, brasil
php-states
Library to provides Brazilian States as Value Objects in PHP
Stars: ✭ 22 (-55.1%)
Mutual labels:  brazil, brasil
genderBR
Predict gender from Brazilian first names
Stars: ✭ 50 (+2.04%)
Mutual labels:  brazil, ibge
DadosAbertosBrasil
Pacote Python para acesso a dados abertos e APIs do governo brasileiro.
Stars: ✭ 28 (-42.86%)
Mutual labels:  brasil, ibge
cnpj
🇧🇷 Format, validate and generate CNPJ numbers in Node & Deno
Stars: ✭ 26 (-46.94%)
Mutual labels:  brazil, brasil
city-codes
Brazilian city names and official codes, IBGE, LexML and others
Stars: ✭ 39 (-20.41%)
Mutual labels:  brazil, ibge
nfe
Bibliotecas para geração, validação, assinatura e transmissão de XMLs da NFe em Go
Stars: ✭ 20 (-59.18%)
Mutual labels:  brazil, brasil
burocracia.cr
No dependency Crystal shard to validate, generate and format Brazilian burocracias such as CPF, CNPJ and CEP
Stars: ✭ 21 (-57.14%)
Mutual labels:  brazil, brasil
computeiro
Computer science courses, books and exams in your pocket. Built with Flutter and Free! ❤️
Stars: ✭ 27 (-44.9%)
Mutual labels:  brazil, brasil
Eleicoes Brasil
Scripts para capturar dados do Repositório de Dados Eleitorais do TSE, limpá-los, normalizá-los e agrupá-los
Stars: ✭ 85 (+73.47%)
Mutual labels:  brazil
Awesome Brazil Data
Curated list of Brazilian datasets for anyone interested in studying the country.
Stars: ✭ 126 (+157.14%)
Mutual labels:  brazil
Brazilnum
Python functions for CNPJ, CEI, CPF, PIS/PASEP, CEP, and município numbers from Brazil.
Stars: ✭ 83 (+69.39%)
Mutual labels:  brazil
Wiki
https://brazil-tech-expats.gitbooks.io/wiki/content/
Stars: ✭ 81 (+65.31%)
Mutual labels:  brazil

sidrar

CRAN_Status_Badge CRAC_Downloads

The goal of sidrar is to provide direct access to the data of IBGE's (Brazilian Institute of Geography and Statistics) SIDRA API within the R environment in an easy and flexible way. SIDRA is the acronym to "Sistema IBGE de Recuperação Automática" and it is the system where IBGE makes aggregate data from their researches available.

Installation

Install the release version from CRAN:

install.packages("sidrar")

or the development version from github

# install.packages("devtools")
devtools::install_github("rpradosiqueira/sidrar")

Functions

For the time being, the "sidrar" package contains only three functions:

get_sidra          It recovers data from the given table
                   according to the parameters
                   
info_sidra         It allows you to check what parameters
                   are available for a table
                   
search_sidra       It searches which tables have a particular 
                   word in their names

Example

Let's assume that we want the IPCA (Índice de Preços ao Consumidor Amplo) for the city of Campo Grande/MS. However, we want to recover only the overall percentage rate in the last 12 months. To do this simply execute:

library(sidrar)

get_sidra(x = 1419,
          variable = 63,
          period = c(last = "12"),
          geo = "City",
          geo.filter = 5002704,
          classific = "c315",
          category = list(7169),
          header = FALSE,
          format = 3)

To more examples, see the vignette "Introduction to sidrar".

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].