{
  "_id": "6aebddaf1e2c7b3a4f5355d1",
  "Package": "mdiharmonize",
  "Type": "Package",
  "Title": "Harmonize Confidential Firm-Level Microdata into a Common Format",
  "Version": "0.1.0",
  "License": "GPL-3",
  "URL": "https://github.com/Secretariat-CompNet/mdiharmonize",
  "BugReports": "https://github.com/Secretariat-CompNet/mdiharmonize/issues",
  "Authors@R": "c(\nperson(\"Daniele\", \"Aglio\", role = \"aut\"),\nperson(\"Eric\", \"Bartelsman\", role = \"aut\"),\nperson(\"Julián\", \"Díaz-Acosta\", role = \"aut\"),\nperson(\"Mirja\", \"Hälbig\", role = \"aut\"),\nperson(\"Marco\", \"Miorandi\", role = \"aut\"),\nperson(\"Johanna\", \"Weiss\", role = c(\"aut\", \"cre\"), email = \"johanna.weiss@iwhesl.onmicrosoft.com\"),\nperson(\"José Alberto\", \"Ferreira\", role = \"ctb\"),\nperson(\"Elena\", \"Sponga\", role = \"ctb\"),\nperson(\"Reetuparna\", \"Vishwanath\", role = \"ctb\"),\nperson(\"Chengzi\", \"Yi\", role = \"ctb\"),\nperson(\"Alessandro\", \"Zona Mattioli\", role = \"ctb\"),\nperson(\"European Union\", role = \"fnd\",\ncomment = \"Technical Support Instrument (TSI), project ProdTool, TSI-2025-MULTIMSPROD-IBA, TSI Project Number 101261159\")\n)",
  "Description": "Harmonizes confidential firm-level microdata held at\nnational statistical institutes into one common structure, so\nthat the same analysis code runs unchanged in every country.\nMetadata tables describe each institute's raw files and map\ntheir variables to the common ones; the functions read the raw\nfiles, apply the mapping (revaluing, recoding, reclassifying,\nredefining and remapping), make industry, product and regional\nclassifications consistent over time, switch between\nenterprise, firm and plant identifiers, and add capital stocks\ncomputed with the perpetual inventory method. Quality checks on\nthe harmonized data report duplicate keys, type conversion\nlosses, breaks in yearly statistics and jumps in missing\nvalues, and outputs pass statistical disclosure control before\nthey leave the institute. Builds on the analysis tools in\n'mditools'. Capital stocks via the perpetual inventory method\nfollow OECD (2009) <doi:10.1787/9789264068476-en>; disclosure\ncontrol applies the minimum-frequency and dominance rules with\nsecondary suppression described in Hundepool et al. (2012)\n<doi:10.1002/9781118348239>.",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.1.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-05 01:33:56 UTC",
    "User": "root"
  },
  "Author": "Daniele Aglio [aut], Eric Bartelsman [aut], Julián Díaz-Acosta\n[aut], Mirja Hälbig [aut], Marco Miorandi [aut], Johanna Weiss\n[aut, cre], José Alberto Ferreira [ctb], Elena Sponga [ctb],\nReetuparna Vishwanath [ctb], Chengzi Yi [ctb], Alessandro Zona\nMattioli [ctb], European Union [fnd] (Technical Support\nInstrument (TSI), project ProdTool, TSI-2025-MULTIMSPROD-IBA,\nTSI Project Number 101261159)",
  "Maintainer": "Johanna Weiss <johanna.weiss@iwhesl.onmicrosoft.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-04 20:30:02 UTC",
  "RemoteUrl": "https://github.com/cran/mdiharmonize",
  "RemoteRef": "HEAD",
  "RemoteSha": "78aa87ebf79729a20ab1fb055ff5b9a27dad9ccc",
  "_user": "cran",
  "_type": "src",
  "_file": "mdiharmonize_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/beb00f23128372b21dac02dbf8abc9bd751590df5498ff65aeacb24f62ec29c8",
  "_filesize": 325313,
  "_sha256": "beb00f23128372b21dac02dbf8abc9bd751590df5498ff65aeacb24f62ec29c8",
  "_expires": "2027-02-13T01:36:45.000Z",
  "_created": "2026-11-05T01:33:56.000Z",
  "_published": "2026-11-05T01:36:47.290Z",
  "_upstream": "https://github.com/cran/mdiharmonize",
  "_status": "success",
  "_maintainer": {
    "name": "Johanna Weiss",
    "email": "johanna.weiss@iwhesl.onmicrosoft.com",
    "login": "johannaws",
    "description": "",
    "uuid": 85117688
  },
  "_jobs": [
    {
      "job": 126989546691,
      "time": 125,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13379554814"
    },
    {
      "job": 126989546609,
      "time": 123,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13379254060"
    },
    {
      "job": 126988069992,
      "time": 238,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13379504579"
    },
    {
      "job": 126989546728,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13379908208"
    },
    {
      "job": 126989546647,
      "time": 93,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13379383699"
    },
    {
      "job": 126989546769,
      "time": 98,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13379759576"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/41948915891",
  "_commit": {
    "id": "78aa87ebf79729a20ab1fb055ff5b9a27dad9ccc",
    "author": "Johanna Weiss <johanna.weiss@iwhesl.onmicrosoft.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1793824202
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "haven",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "mditools",
      "version": ">= 0.1.1",
      "role": "Imports"
    },
    {
      "package": "openxlsx",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "askpass",
      "role": "Suggests"
    },
    {
      "package": "bit64",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "gridExtra",
      "role": "Suggests"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "RODBC",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-45",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-11-04"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "johannaws",
      "count": 1,
      "uuid": 85117688
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 635,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mdiharmonize"
  },
  "_devurl": "https://github.com/secretariat-compnet/mdiharmonize",
  "_searchresults": 2,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/mdiharmonize.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_exports": [
    "hier_col",
    "log_warnings",
    "mdi_build_pim_capital",
    "mdi_check_harmonized",
    "mdi_classify_conc",
    "mdi_coerce_md_types",
    "mdi_concord_nace",
    "mdi_config",
    "mdi_disclose",
    "mdi_disclosure_config",
    "mdi_export",
    "mdi_harmonize",
    "mdi_harmonize_codes_over_time",
    "mdi_key_id_switch",
    "mdi_load_deflators",
    "mdi_load_md_metadata",
    "mdi_load_nsi_metadata",
    "mdi_plot_breaks",
    "mdi_plot_na_share",
    "mdi_post_harmonization_checks",
    "mdi_preprocess",
    "mdi_run"
  ],
  "_help": [
    {
      "page": "hier_col",
      "title": "The column holding a given level of a hierarchy file",
      "topics": [
        "hier_col"
      ]
    },
    {
      "page": "log_warnings",
      "title": "Write a message to a log file",
      "topics": [
        "log_warnings"
      ]
    },
    {
      "page": "mdi_build_pim_capital",
      "title": "Add a Perpetual Inventory Method capital stock to SBS",
      "topics": [
        "mdi_build_pim_capital"
      ]
    },
    {
      "page": "mdi_check_harmonized",
      "title": "Check a harmonized MD dataset against its metadata",
      "topics": [
        "mdi_check_harmonized"
      ]
    },
    {
      "page": "mdi_classify_conc",
      "title": "Classify the concordance rows (edges)",
      "topics": [
        "mdi_classify_conc"
      ]
    },
    {
      "page": "mdi_coerce_md_types",
      "title": "Convert a harmonized MD dataset's variables to their declared classes",
      "topics": [
        "mdi_coerce_md_types"
      ]
    },
    {
      "page": "mdi_concord_nace",
      "title": "NACE classification harmonization",
      "topics": [
        "mdi_concord_nace"
      ]
    },
    {
      "page": "mdi_config",
      "title": "Build the MDI pipeline configuration object",
      "topics": [
        "mdi_config"
      ]
    },
    {
      "page": "mdi_disclose",
      "title": "Disclosure Check for Aggregated Data",
      "topics": [
        "mdi_disclose"
      ]
    },
    {
      "page": "mdi_disclosure_config",
      "title": "Build the disclosure-control configuration for one country",
      "topics": [
        "mdi_disclosure_config"
      ]
    },
    {
      "page": "mdi_export",
      "title": "Export Data and Log Output Description",
      "topics": [
        "mdi_export"
      ]
    },
    {
      "page": "mdi_harmonize",
      "title": "Harmonize an NSI data file to MD specification",
      "topics": [
        "mdi_harmonize"
      ]
    },
    {
      "page": "mdi_harmonize_codes_over_time",
      "title": "Harmonize a classification code over time",
      "topics": [
        "mdi_harmonize_codes_over_time"
      ]
    },
    {
      "page": "mdi_key_id_switch",
      "title": "Switch Identifier Level via Aggregation or Disaggregation",
      "topics": [
        "mdi_key_id_switch"
      ]
    },
    {
      "page": "mdi_load_deflators",
      "title": "Load deflators and the NACE-to-deflator-industry concordance",
      "topics": [
        "mdi_load_deflators"
      ]
    },
    {
      "page": "mdi_load_md_metadata",
      "title": "Load MD metadata for the current launch",
      "topics": [
        "mdi_load_md_metadata"
      ]
    },
    {
      "page": "mdi_load_nsi_metadata",
      "title": "Load NSI metadata for one country",
      "topics": [
        "mdi_load_nsi_metadata"
      ]
    },
    {
      "page": "mdi_plot_breaks",
      "title": "Plot the yearly statistics of a variable, marking its breaks",
      "topics": [
        "mdi_plot_breaks"
      ]
    },
    {
      "page": "mdi_plot_na_share",
      "title": "Plot the yearly share of NA values of a variable, marking flagged years",
      "topics": [
        "mdi_plot_na_share"
      ]
    },
    {
      "page": "mdi_post_harmonization_checks",
      "title": "Write the post-harmonization quality report",
      "topics": [
        "mdi_post_harmonization_checks"
      ]
    },
    {
      "page": "mdi_preprocess",
      "title": "Preprocessing Tool for Raw Data Harmonization",
      "topics": [
        "mdi_preprocess"
      ]
    },
    {
      "page": "mdi_run",
      "title": "Run MDI up to the modules",
      "topics": [
        "mdi_run"
      ]
    }
  ],
  "_readme": "https://github.com/cran/mdiharmonize/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "cellranger",
    "cli",
    "clipr",
    "cluster",
    "cpp11",
    "crayon",
    "data.table",
    "dbscan",
    "dplyr",
    "dreamerr",
    "fixest",
    "forcats",
    "Formula",
    "generics",
    "glue",
    "haven",
    "hms",
    "igraph",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "mclust",
    "mditools",
    "nlme",
    "numDeriv",
    "openxlsx",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "R6",
    "Rcpp",
    "readr",
    "readxl",
    "rematch",
    "rlang",
    "sandwich",
    "stringi",
    "stringmagic",
    "stringr",
    "tibble",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr",
    "zip",
    "zoo"
  ],
  "_score": 1.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "mdiharmonize",
  "_universes": [
    "cran",
    "johannaws",
    "secretariat-compnet"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-05T01:36:01.000Z",
      "distro": "resolute",
      "commit": "78aa87ebf79729a20ab1fb055ff5b9a27dad9ccc",
      "fileid": "https://r2.ropensci.org/e91a847cc61f8aebcbf51762c8b9321604dd8848c4f1db03f5b5c87a079ea319",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41948915891"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-05T01:36:02.000Z",
      "distro": "resolute",
      "commit": "78aa87ebf79729a20ab1fb055ff5b9a27dad9ccc",
      "fileid": "https://r2.ropensci.org/f9807a81bf88c4dbc3a011b12981d9a8fed8006df9b504895683cb6925a62340",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41948915891"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-11-05T01:36:06.000Z",
      "commit": "78aa87ebf79729a20ab1fb055ff5b9a27dad9ccc",
      "fileid": "https://r2.ropensci.org/418b86bdbdaa7e4d3c0a27d55522faed7126b8dc0c36a8db73511b4e75d2d50f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41948915891"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-05T01:35:08.000Z",
      "commit": "78aa87ebf79729a20ab1fb055ff5b9a27dad9ccc",
      "fileid": "https://r2.ropensci.org/d762176c9206c4fae900eda4f8363cc4ce98459d37b23e04b4ebb22b1a4953cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41948915891"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-05T01:35:13.000Z",
      "commit": "78aa87ebf79729a20ab1fb055ff5b9a27dad9ccc",
      "fileid": "https://r2.ropensci.org/790b2870ef4a711ff6cf8ba152bea27ddf5799005afa0a822fe285876e255b4c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41948915891"
    }
  ]
}