Changelog
Source:NEWS.md
PrjThaiHFID 0.2.0
Data-pipeline, documentation, and website release.
Anonymization
- Hardened the
data-raw/id_anonymize/pipeline so nodata-rawartifact carries true keys.anonymize_whitem160aggregate()now drops all true ID columns (hhid,hhid_month,province,village,household,villagehh), keeping only the anonymizedid(tmid_hh). - Added anonymized-only crosswalks
tm_key_id_hh_anony.rdaandtm_key_id_vil_anony.rda; true-key crosswalks (tm_key_id*.rda) and*_true_id.csvare now git-ignored and stay local-only. - Repointed
ffv_invest_return_bridgeto the anonymized household crosswalk. Verified every vignette resolves only to anonymizeddata/anddata-raw/files.
Output saving
- Added exported helpers
ffp_save_res_table()(LaTeX + optional CSV) andffp_save_res_figure()(PNG + EPS) for writing vignette outputs to per-topicres/res_<topic>/folders. - Each table/figure vignette now has a per-output
ls_save_rescontrol list (all defaultFALSE); generatedres/artifacts andinst/extdata/exports are git-ignored and not shipped.
Vignettes and website
- Migrated the eight analysis vignettes to Quarto (
.qmd) and added Quarto setup to the pkgdown GitHub Action. - New pkgdown home page authored in
README.qmd(rendered toREADME.md) with data-lineage, R-program-group, and vignette-tier Mermaid diagrams. - New Project Map navbar page (
project_map.qmd→project_map.md) with program/data/data-raw/vignette/issue cross-reference tables and a run-order hierarchy diagram. - Added an explicit, dependency-ordered Articles section with per-vignette descriptions.
- Reconciled the reference index to the committed pipeline: removed three non-vignette datasets (
tstm_hh_assets_mth25,tstm_hh_attributes_mth25,tstm_i2l2b) and registered the newffp_save_res_*helpers.