condepe: Access the Open Data of the Pernambuco Observatory
Source:R/condepe-package.R
condepe-package.RdA tidy interface to the open data of the Observatory of Pernambuco, Brazil (https://cf.pe.gov.br/observatorio): municipal series on population, economy, public finance, labour, education, health, security, transport and environment, collected from official public sources (such as the Brazilian Institute of Geography and Statistics and the Ministry of Health, identified in every row) and organised by 'Condepe/Fidem', the State Agency for Planning and Research, every source in the same long format, returned as tibbles. Also provides the municipal boundaries and eleven official regional classifications of the municipalities, ready for maps, and citations that credit the original source. Files are read from the canonical endpoint with a 'Hugging Face' mirror as fallback, cached on disk per catalogue version and checked against their published 'SHA-256'. Network failures are handled gracefully.
Opções do pacote
condepe.quiet: silencia as mensagens informativas. PadrãoTRUEem sessões não interativas.condepe.cache_dir: local do cache. Padrãotools::R_user_dir("condepe", "cache")(ouCONDEPE_CACHE_DIR).condepe.catalog_max_age: segundos em que o catálogo em cache vale sem consultar o servidor. Padrão 6 horas.condepe.base_url,condepe.mirror_url: o endereço canônico e o espelho (tambémCONDEPE_URL/CONDEPE_MIRROR_URL); espelho vazio desliga o fallback.condepe.max_tries,condepe.timeout: tentativas (padrão 3, com espera exponencial) e tempo limite de cada requisição em segundos (padrão 60).
Author
Maintainer: André Leite leite@castlab.org (ORCID)
Authors:
André Leite leite@castlab.org (ORCID)
Marcos Wasiliew marcos.wasiliew@gmail.com (ORCID)
Hugo Vasconcelos hugo.vasconcelos@ufpe.br (ORCID)
Carlos Amorim carlos.agaf@ufpe.br (ORCID)
Diogo Bezerra diogo.bezerra@ufpe.br (ORCID)
Júlia Nascimento Barreto juliabarreto@gd.seplag.pe.gov.br (ORCID)