{"id":24696749,"url":"https://github.com/rpradosiqueira/sidrar","last_synced_at":"2025-07-08T23:06:38.247Z","repository":{"id":44255175,"uuid":"88803272","full_name":"rpradosiqueira/sidrar","owner":"rpradosiqueira","description":"A R interface to IBGE's SIDRA API","archived":false,"fork":false,"pushed_at":"2022-07-12T23:35:37.000Z","size":172,"stargazers_count":88,"open_issues_count":10,"forks_count":12,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-02T17:37:35.910Z","etag":null,"topics":["api","brasil","brazil","ibge","r","sidra"],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rpradosiqueira.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-20T00:29:10.000Z","updated_at":"2025-05-14T18:11:52.000Z","dependencies_parsed_at":"2022-08-12T11:01:26.611Z","dependency_job_id":null,"html_url":"https://github.com/rpradosiqueira/sidrar","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/rpradosiqueira/sidrar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpradosiqueira%2Fsidrar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpradosiqueira%2Fsidrar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpradosiqueira%2Fsidrar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpradosiqueira%2Fsidrar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rpradosiqueira","download_url":"https://codeload.github.com/rpradosiqueira/sidrar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpradosiqueira%2Fsidrar/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264363794,"owners_count":23596507,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","brasil","brazil","ibge","r","sidra"],"created_at":"2025-01-27T02:03:13.875Z","updated_at":"2025-07-08T23:06:38.227Z","avatar_url":"https://github.com/rpradosiqueira.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"README-\"\n)\n```\n\n# sidrar\n\nThe 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.\n\n## Installation\n\nInstall the release version from CRAN:\n\n```{r , eval = FALSE}\ninstall.packages(\"sidrar\")\n```\n\nor the development version from github\n\n```{r , eval = FALSE}\n# install.packages(\"devtools\")\ndevtools::install_github(\"rpradosiqueira/sidrar\")\n```\n\n## Functions\n\nFor the time being, the \"sidrar\" package contains only three functions:\n\n```{r, eval=FALSE}\nget_sidra          It recovers data from the given table\n                   according to the parameters\n                   \ninfo_sidra         It allows you to check what parameters\n                   are available for a table\n                   \nsearch_sidra       It searches which tables have a particular \n                   word in their names\n```\t\t   \n\n## Example\n\nLet'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:\n\n```{r, eval = FALSE}\nlibrary(sidrar)\n\nget_sidra(x = 1419,\n          variable = 63,\n          period = c(last = \"12\"),\n          geo = \"City\",\n          geo.filter = 5002704,\n          classific = \"c315\",\n          category = list(7169),\n          header = FALSE,\n          format = 3)\n\n```\n\nTo more examples, see the vignette [\"Introduction to sidrar\"](https://CRAN.R-project.org/package=sidrar/vignettes/Introduction_to_sidrar.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frpradosiqueira%2Fsidrar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frpradosiqueira%2Fsidrar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frpradosiqueira%2Fsidrar/lists"}