cran-task-views / cran-task-views/OfficialStatistics

Suggestion: educabR and healthbR (access to Brazilian official statistics)

Open Beginner friendly
#47 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
7
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Suggestion: two CRAN packages for access to Brazilian official statistics

The "Access to Official Statistics" section currently lists national and
international agency clients — eurostat, OECD, Rilostat, WDI, wbstats,
readabs (Australian Bureau of Statistics), statcanR (Statistics Canada),
among others. As far as I can tell, no package for a Brazilian official
source is listed. I maintain two CRAN packages that fit that section, and I
would like to suggest them for consideration.

educabR

https://CRAN.R-project.org/package=educabRAccess Brazilian Public
Education Data

Downloads and parses the public education data published by the Brazilian
agencies: INEP (School Census 1995–2025, ENEM 1998–2025, SAEB 2011–2023,
IDEB 2017–2025, Higher Education Census 2009–2024, ENADE 2004–2023 and the
quality indicators CPC/IDD/IGC), FNDE/STN (FUNDEB funding) and CAPES
(graduate programme evaluation) — 14 datasets in all. The work the package does
is the part that makes these sources awkward: fixed-width microdata with
per-year dictionaries, CSVs in mixed encodings, and indicator spreadsheets whose
first rows are titles and notes. Column names and categorical values are kept in
Portuguese, as the agencies publish them.

healthbR

https://CRAN.R-project.org/package=healthbRAccess Brazilian Public
Health Data

Access to the Brazilian health information systems and health surveys: DATASUS
(SIM mortality, SINASC live births, SIH hospital admissions, SIA outpatient,
SINAN notifiable diseases, CNES facility registry, SI-PNI immunisation),
IBGE household surveys with health content (PNS, PNAD Contínua, POF, VIGITEL)
and census population denominators via the SIDRA API.

Why these, and a note on fit

Both are on CRAN, documented with vignettes and a pkgdown site, and both are
data-access packages for official sources rather than analysis methods — the
same shape as readabs and statcanR already in the view. If the maintainers
think only one of them fits, or that a different section is the right home, I am
happy to follow that. I can also open a PR against OfficialStatistics.md with
the entries written in the view's own style, if that is preferred over an issue.

Thanks for maintaining the view.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open OfficialStatistics.md and review the existing entries for readabs and statcanR to match the view's style. Add educabR and healthbR with their CRAN links and descriptions, then verify that both packages are presented as official-statistics data-access tools and that the file remains consistently formatted.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
74/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.