Package: mdiharmonize 0.1.0
mdiharmonize: Harmonize Confidential Firm-Level Microdata into a Common Format
Harmonizes confidential firm-level microdata held at national statistical institutes into one common structure, so that the same analysis code runs unchanged in every country. Metadata tables describe each institute's raw files and map their variables to the common ones; the functions read the raw files, apply the mapping (revaluing, recoding, reclassifying, redefining and remapping), make industry, product and regional classifications consistent over time, switch between enterprise, firm and plant identifiers, and add capital stocks computed with the perpetual inventory method. Quality checks on the harmonized data report duplicate keys, type conversion losses, breaks in yearly statistics and jumps in missing values, and outputs pass statistical disclosure control before they leave the institute. Builds on the analysis tools in 'mditools'. Capital stocks via the perpetual inventory method follow OECD (2009) <doi:10.1787/9789264068476-en>; disclosure control applies the minimum-frequency and dominance rules with secondary suppression described in Hundepool et al. (2012) <doi:10.1002/9781118348239>.
Authors:
mdiharmonize_0.1.0.tar.gz
mdiharmonize_0.1.0.zip(r-4.7-any)mdiharmonize_0.1.0.zip(r-4.6-any)
mdiharmonize_0.1.0.tar.gz(r-4.7-any)mdiharmonize_0.1.0.tar.gz(r-4.6-any)
mdiharmonize_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
mdiharmonize/json (API)
| # Install 'mdiharmonize' in R: |
| install.packages('mdiharmonize', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/secretariat-compnet/mdiharmonize/issues
Last updated from:78aa87ebf7. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 125 | ||
| source / vignettes | OK | 238 | ||
| linux-release | OK | 123 | ||
| windows-devel | OK | 93 | ||
| windows-release | OK | 98 | ||
| wasm-release | OK | 109 |
Exports:hier_collog_warningsmdi_build_pim_capitalmdi_check_harmonizedmdi_classify_concmdi_coerce_md_typesmdi_concord_nacemdi_configmdi_disclosemdi_disclosure_configmdi_exportmdi_harmonizemdi_harmonize_codes_over_timemdi_key_id_switchmdi_load_deflatorsmdi_load_md_metadatamdi_load_nsi_metadatamdi_plot_breaksmdi_plot_na_sharemdi_post_harmonization_checksmdi_preprocessmdi_run
Dependencies:bitbit64cellrangerclicliprclustercpp11crayondata.tabledbscandplyrdreamerrfixestforcatsFormulagenericsgluehavenhmsigraphlatticelifecyclemagrittrMatrixmclustmditoolsnlmenumDerivopenxlsxpillarpkgconfigprettyunitsprogressR6Rcppreadrreadxlrematchrlangsandwichstringistringmagicstringrtibbletidyselecttzdbutf8vctrsvroomwithrzipzoo
