Pulso 0.2.1 updates its R software catalogue with checks for 191 Colombian survey periods
The November 28 release expands its record of checks comparing three national labour indicators computed from household survey microdata with official DANE tables.
A new release for working with Colombian microdata
The R package pulso, maintained by Esteban Labastidas, reached CRAN in version 0.2.1 on November 28. The source archive records publication at 04:30:02 UTC, or 07:30:02 in Istanbul. It provides a programmatic route to microdata from Colombia’s Gran Encuesta Integrada de Hogares, a household survey published by the national statistics office, DANE. The survey produces information on labour, income, and households. DANE provides period files for individual analysis and publishes official indicators in separate tables. The release increases the number of periods for which the project reports a comparison of calculated national indicators against those tables.
Checks now cover 191 catalogue periods
The package release notes report 191 validated periods out of 237, up from five. The checks recompute weighted national unemployment, employment, and labour force participation rates. The project reports differences of at most 0.000049 percentage points relative to the matching official annexes. That figure describes the project’s validation results for the covered measures. A regional breakdown or a different population still needs its own comparison. Survey records can represent different numbers of people in the population. Weights therefore form part of the calculation when comparing a result to the national tables published by DANE.
The R interface exposes catalogue status
The release notes say the automated comparison runs in Python and saves its results in the catalogue consumed by R. The pulso_validation_status function exposes the stored information on how a period was checked. The notes identify 46 periods that remain unvalidated because the validation program could not load their data. Reporting teams can record status by month in the same record as the package version. It then becomes possible to trace a later change in the months available for a given report and reproduce an older analysis with the same inputs and validation expectations.
Read the official annex that matches the period
The recorded process uses annexes associated with the 2005 survey framework through December 2021 and the 2018 framework from January 2022 onward. The survey framework and indicator definition matter when comparing months across that boundary. For an audit trail, keep the official table, input archive, region or national filter, and selected expansion weight together. DANE publishes the source annexes and methodological documents independently from the package. They give the analyst a point of comparison if values differ after an updated package or after a statistical revision by the agency.
A one-month validation exercise
Pick a month marked as validated and retain a copy of the corresponding DANE annex. Use a consistent population definition and calculate the weighted national indicators from its source records. Compare the result with the published table. Check rounding, population filters, and denominators if a gap appears. A report that records the source version and the package version allows another analyst to repeat the test. The stated change in 0.2.1 is the expansion of catalogue checks. Analysts can build separate fixtures for the particular geographic and demographic breakdowns their reports depend on.
Archive photo · Elviper / Wikimedia Commons ↗ · Public domain (author release) · An archive view of Bogotá used to illustrate the story about Colombia’s labour force survey.
Sources and verification
- Primary sourceCRAN ↗
- Technical documentDANE ↗
- BackgroundDANE Mikroveri Kataloğu ↗
- Reporting / cross-checkR-universe ↗
Reader discussion
What would you change first for maintainability and testing in your own project?
No comments yet. Be the first to contribute.
Write a comment