{"repo":"rpradosiqueira/sidrar","free":true,"listed":false,"github":"https://github.com/rpradosiqueira/sidrar","clone":"git clone https://github.com/rpradosiqueira/sidrar.git","description":"A R interface to IBGE's SIDRA API","language":"R","stars":104,"topics":["sidra","api","ibge","r","brasil","brazil"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"sidrar sidrar provides direct access from R to aggregate data and metadata published by the Brazilian Institute of Geography and Statistics (IBGE). SIDRA stands for Sistema IBGE de Recuperação Automática . Installation Install the released version from CRAN: Install the development version from GitHub with: Main functions The package has three public functions: - search sidra() searches the current official aggregate catalog. - info sidra() lists the parameters available for a table. - get sidra() retrieves the selected observations. Table codes are returned as the names of the search sidra() result: Retrieve data This example requests the monthly IPCA for the general index in Campo Grande, Mato Grosso do Sul, over the 12 most recent periods: You may also pass either a relative API path or a complete official HTTPS URL. A request containing /h/n is returned without consuming its first observation as a header: Preserve special values By default, Valor is numeric for compatibility with earlier releases. SIDRA also uses symbols such as \"-\" , \"X\" , \"..\" , and \"...\" . Use value type = \"character\" to preserve them in Valor , or value type = \"both\" to append Valor raw while retaining numeric Valor : Network behavior and cache All three public functions query current IBGE services. sidrar does not create a persistent cache, so save returned objects explicitly when a reproducible snapshot is required. Requests use a timeout and limited retries for transient failures; customize them wi","default_branch":null,"files":null,"tree":[],"storefront":"/r/rpradosiqueira","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rpradosiqueira/sidrar/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}