{
  "_id": "6ac817b5de46216d5edd39c8",
  "Package": "mditools",
  "Type": "Package",
  "Title": "Microdata Infrastructure Tools for Firm-Level Microdata Research",
  "Version": "0.1.1",
  "License": "GPL-3",
  "URL": "https://github.com/Secretariat-CompNet/mditools",
  "BugReports": "https://github.com/Secretariat-CompNet/mditools/issues",
  "Authors@R": "c(\nperson(\"Daniele\", \"Aglio\", role = \"aut\"),\nperson(\"Eric\", \"Bartelsman\", 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(\"Alessandro\", \"Zona Mattioli\", role = \"aut\"),\nperson(\"Julián\", \"Díaz-Acosta\", role = \"ctb\"),\nperson(\"Alberto\", \"Ferreira\", role = \"ctb\"),\nperson(\"Javier\", \"Miranda\", role = \"ctb\"),\nperson(\"Marcelo Piemonte\", \"Ribeiro\", role = \"ctb\"),\nperson(\"Reetuparna\", \"Vishwanath\", role = \"ctb\"),\nperson(\"Chengzi\", \"Yi\", role = \"ctb\"),\nperson(\"European Union\", role = \"fnd\",\ncomment = \"Technical Support Instrument (TSI), project ProdTool, TSI-2025-MULTIMSPROD-IBA, TSI Project Number 101261159\")\n)",
  "Description": "Supports the full analysis pipeline for researchers\nworking with firm-level microdata. Provides data tools for\npanel preparation (import, outlier detection, classification\nharmonization), analytical methods (production function\nestimation, capital stock measurement, markups, intensity\nmeasures, distributions, regression, clustering), and\ndisclosure tools for tagging outputs with dominance and\nobservation counts before aggregation and publication.\nProduction function estimation implements methods by Ackerberg,\nCaves and Frazer (2015) <doi:10.3982/ECTA13408>, Levinsohn and\nPetrin (2003) <doi:10.1111/1467-937X.00246>, Wooldridge (2009)\n<doi:10.1016/j.econlet.2009.04.026>, Petrin, Poi and Levinsohn\n(2004) <doi:10.1177/1536867X0400400202>, and Arellano and Bond\n(1991) <doi:10.2307/2297968> with the \"too many instruments\"\ncorrection by Roodman (2009)\n<doi:10.1111/j.1468-0084.2008.00542.x>. Markup estimation\nfollows De Loecker and Warzynski (2012)\n<doi:10.1257/aer.102.6.2437>. Cost-share production function\nestimation follows Basu and Fernald (1997)\n<doi:10.1086/262073>. Capital stock estimation via the\nPerpetual Inventory Method follows OECD (2009)\n<doi:10.1787/9789264068476-en>.",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "8.0.0",
  "Config/pak/sysreqs": "make libx11-dev zlib1g-dev",
  "Repository": "https://secretariat-compnet.r-universe.dev",
  "Date/Publication": "2026-10-08 18:34:51 UTC",
  "RemoteUrl": "https://github.com/secretariat-compnet/mditools",
  "RemoteRef": "HEAD",
  "RemoteSha": "52b644d78f023fa49e604ba11a021a7174732b96",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-08 22:19:46 UTC",
    "User": "root"
  },
  "Author": "Daniele Aglio [aut],\nEric Bartelsman [aut],\nMirja Hälbig [aut],\nMarco Miorandi [aut],\nJohanna Weiss [aut, cre],\nAlessandro Zona Mattioli [aut],\nJulián Díaz-Acosta [ctb],\nAlberto Ferreira [ctb],\nJavier Miranda [ctb],\nMarcelo Piemonte Ribeiro [ctb],\nReetuparna Vishwanath [ctb],\nChengzi Yi [ctb],\nEuropean Union [fnd] (Technical Support Instrument (TSI), project\nProdTool, TSI-2025-MULTIMSPROD-IBA, TSI Project Number 101261159)",
  "Maintainer": "Johanna Weiss <johanna.weiss@iwhesl.onmicrosoft.com>",
  "_user": "secretariat-compnet",
  "_type": "src",
  "_file": "mditools_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/be509a8f9ed8165736254bf91d53b211d780688af9770a10f7e15d7cacb0d27b",
  "_filesize": 344989,
  "_sha256": "be509a8f9ed8165736254bf91d53b211d780688af9770a10f7e15d7cacb0d27b",
  "_expires": "2027-01-16T22:22:43.000Z",
  "_created": "2026-10-08T22:19:46.000Z",
  "_published": "2026-10-08T22:22:45.375Z",
  "_buildurl": "https://github.com/r-universe/secretariat-compnet/actions/runs/37852362189",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113569755309,
      "time": 130,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11583266093"
    },
    {
      "job": 113569755303,
      "time": 129,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11582717308"
    },
    {
      "job": 113569755299,
      "time": 87,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11582507264"
    },
    {
      "job": 113569755371,
      "time": 96,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11582023647"
    },
    {
      "job": 113568370689,
      "time": 222,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11583305681"
    },
    {
      "job": 113569755205,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11582642287"
    },
    {
      "job": 113569755289,
      "time": 66,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11582467617"
    },
    {
      "job": 113569755260,
      "time": 83,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11582477426"
    },
    {
      "job": 113569755357,
      "time": 82,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11583026525"
    }
  ],
  "_upstream": "https://github.com/secretariat-compnet/mditools",
  "_commit": {
    "id": "52b644d78f023fa49e604ba11a021a7174732b96",
    "author": "Johanna <85117688+JohannaWS@users.noreply.github.com>",
    "committer": "Johanna <85117688+JohannaWS@users.noreply.github.com>",
    "message": "docs: mdi_make_conc() example uses code_name = \"pcc8\"\n",
    "time": 1791484491
  },
  "_maintainer": {
    "name": "Johanna Weiss",
    "email": "johanna.weiss@iwhesl.onmicrosoft.com",
    "login": "johannaws",
    "description": "",
    "uuid": 85117688
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "fixest",
      "role": "Imports"
    },
    {
      "package": "haven",
      "role": "Imports"
    },
    {
      "package": "readxl",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "cluster",
      "role": "Imports"
    },
    {
      "package": "dbscan",
      "role": "Imports"
    },
    {
      "package": "mclust",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "arrow",
      "role": "Suggests"
    },
    {
      "package": "RODBC",
      "role": "Suggests"
    },
    {
      "package": "askpass",
      "role": "Suggests"
    }
  ],
  "_owner": "secretariat-compnet",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-25",
      "n": 9
    },
    {
      "week": "2026-26",
      "n": 3
    },
    {
      "week": "2026-27",
      "n": 2
    },
    {
      "week": "2026-35",
      "n": 3
    },
    {
      "week": "2026-37",
      "n": 3
    },
    {
      "week": "2026-38",
      "n": 1
    },
    {
      "week": "2026-40",
      "n": 2
    },
    {
      "week": "2026-41",
      "n": 7
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-07-01"
    },
    {
      "name": "v0.1.1",
      "date": "2026-10-08"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "johannaws",
      "count": 30,
      "uuid": 85117688
    }
  ],
  "_userbio": {
    "uuid": 55692821,
    "type": "user",
    "name": "IWH-CompNet",
    "followers": 3,
    "description": "IWH-CompNet -\r\nThe Competitiveness Research Network, \r\nPart of IWH-CBPD "
  },
  "_downloads": {
    "count": 291,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mditools"
  },
  "_devurl": "https://github.com/secretariat-compnet/mditools",
  "_searchresults": 2,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/mditools.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/secretariat-compnet/mditools",
  "_realowner": "secretariat-compnet",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-08-20"
    },
    {
      "version": "0.1.1",
      "date": "2026-10-08"
    }
  ],
  "_exports": [
    "check_char_vec",
    "check_choice",
    "check_dt",
    "check_string",
    "hier_levels",
    "mdi_acf_prodest",
    "mdi_aggregate",
    "mdi_clustering",
    "mdi_cs_prodest",
    "mdi_disclose_crit",
    "mdi_disclose_reg_tab",
    "mdi_dpgmm_prodest",
    "mdi_estimate_markup",
    "mdi_estimate_prodfun",
    "mdi_hier_apply",
    "mdi_import_data",
    "mdi_intensity",
    "mdi_jointdist",
    "mdi_lp_prodest",
    "mdi_make_conc",
    "mdi_ols_prodest",
    "mdi_outlier",
    "mdi_pim_capital",
    "mdi_regress",
    "mdi_transition",
    "mdi_wdrg_prodest"
  ],
  "_help": [
    {
      "page": "mditools-package",
      "title": "mditools: Microdata Infrastructure Tools for Firm-Level Microdata Research",
      "topics": [
        "mditools-package",
        "mditools"
      ]
    },
    {
      "page": "mdi_acf_prodest",
      "title": "ACF Production Function Estimation",
      "topics": [
        "mdi_acf_prodest"
      ]
    },
    {
      "page": "mdi_aggregate",
      "title": "Generic Aggregation Function",
      "topics": [
        "mdi_aggregate"
      ]
    },
    {
      "page": "mdi_clustering",
      "title": "Clustering",
      "topics": [
        "mdi_clustering"
      ]
    },
    {
      "page": "mdi_cs_prodest",
      "title": "Cost-Shares Production Function Estimator (Cobb-Douglas)",
      "topics": [
        "mdi_cs_prodest"
      ]
    },
    {
      "page": "mdi_disclose_crit",
      "title": "Add Disclosure Criteria to Aggregated Data",
      "topics": [
        "mdi_disclose_crit"
      ]
    },
    {
      "page": "mdi_disclose_reg_tab",
      "title": "Disclosure Check and Masking for Regression Tables",
      "topics": [
        "mdi_disclose_reg_tab"
      ]
    },
    {
      "page": "mdi_dpgmm_prodest",
      "title": "Arellano-Bond Difference-GMM Production Function Estimator",
      "topics": [
        "mdi_dpgmm_prodest"
      ]
    },
    {
      "page": "mdi_estimate_markup",
      "title": "Estimate Firm-Level Markup",
      "topics": [
        "mdi_estimate_markup"
      ]
    },
    {
      "page": "mdi_estimate_prodfun",
      "title": "Estimate production functions with multiple estimators (panel, by-group)",
      "topics": [
        "mdi_estimate_prodfun"
      ]
    },
    {
      "page": "mdi_hier_apply",
      "title": "Hierarchical Aggregation of Data",
      "topics": [
        "mdi_hier_apply"
      ]
    },
    {
      "page": "mdi_import_data",
      "title": "Import Data into R data.table",
      "topics": [
        "mdi_import_data"
      ]
    },
    {
      "page": "mdi_intensity",
      "title": "Compute Technology Adoption Intensity via Probit Propensities",
      "topics": [
        "mdi_intensity"
      ]
    },
    {
      "page": "mdi_jointdist",
      "title": "Calculate Joint Distributions",
      "topics": [
        "mdi_jointdist"
      ]
    },
    {
      "page": "mdi_lp_prodest",
      "title": "Levinsohn-Petrin (2003) Production Function Estimator",
      "topics": [
        "mdi_lp_prodest"
      ]
    },
    {
      "page": "mdi_make_conc",
      "title": "Harmonize a Classification Over Time",
      "topics": [
        "mdi_make_conc"
      ]
    },
    {
      "page": "mdi_ols_prodest",
      "title": "OLS Production Function Estimator",
      "topics": [
        "mdi_ols_prodest"
      ]
    },
    {
      "page": "mdi_outlier",
      "title": "Outlier Routine for Data Cleaning",
      "topics": [
        "mdi_outlier"
      ]
    },
    {
      "page": "mdi_pim_capital",
      "title": "Estimate Capital Stock Using Perpetual Inventory Method (PIM)",
      "topics": [
        "mdi_pim_capital"
      ]
    },
    {
      "page": "mdi_regress",
      "title": "Weighted Regression with Automatic Disclosure Check",
      "topics": [
        "mdi_regress"
      ]
    },
    {
      "page": "mdi_transition",
      "title": "Count Classification Switches Between Consecutive Periods",
      "topics": [
        "mdi_transition"
      ]
    },
    {
      "page": "mdi_wdrg_prodest",
      "title": "Wooldridge (2009) System-GMM Production Function Estimator",
      "topics": [
        "mdi_wdrg_prodest"
      ]
    }
  ],
  "_readme": "https://github.com/secretariat-compnet/mditools/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "cellranger",
    "cli",
    "clipr",
    "cluster",
    "cpp11",
    "crayon",
    "data.table",
    "dbscan",
    "dreamerr",
    "fixest",
    "forcats",
    "Formula",
    "generics",
    "glue",
    "haven",
    "hms",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "mclust",
    "nlme",
    "numDeriv",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "R6",
    "Rcpp",
    "readr",
    "readxl",
    "rematch",
    "rlang",
    "sandwich",
    "stringmagic",
    "tibble",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr",
    "zoo"
  ],
  "_score": 3.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "mditools",
  "_universes": [
    "secretariat-compnet",
    "johannaws"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-08T22:21:58.000Z",
      "distro": "resolute",
      "commit": "52b644d78f023fa49e604ba11a021a7174732b96",
      "fileid": "https://r2.ropensci.org/6c34e9c25aafa2032e4ca9ed2c9c8490a28fa75827a43dfbac8d0eed8d98fabd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/secretariat-compnet/actions/runs/37852362189"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-08T22:21:57.000Z",
      "distro": "resolute",
      "commit": "52b644d78f023fa49e604ba11a021a7174732b96",
      "fileid": "https://r2.ropensci.org/79727022c9ff98b6a97f17ee385ce3ed479d2a279009d003de44b4dc399fb393",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/secretariat-compnet/actions/runs/37852362189"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-08T22:21:46.000Z",
      "commit": "52b644d78f023fa49e604ba11a021a7174732b96",
      "fileid": "https://r2.ropensci.org/32864700db07d8c4d6f614eb8e39d21311552583f06f986aed16c3f6c359a5ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/secretariat-compnet/actions/runs/37852362189"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-08T22:22:00.000Z",
      "commit": "52b644d78f023fa49e604ba11a021a7174732b96",
      "fileid": "https://r2.ropensci.org/16991009592b035e49a19ce7477854a687ad00220ba4392ab25c4187b00240a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/secretariat-compnet/actions/runs/37852362189"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-10-08T22:21:58.000Z",
      "commit": "52b644d78f023fa49e604ba11a021a7174732b96",
      "fileid": "https://r2.ropensci.org/98654d747841753cac3aafce3bb2abb239516e6543cf0f63390aa40ed7b84828",
      "status": "success",
      "buildurl": "https://github.com/r-universe/secretariat-compnet/actions/runs/37852362189"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-08T22:20:52.000Z",
      "commit": "52b644d78f023fa49e604ba11a021a7174732b96",
      "fileid": "https://r2.ropensci.org/7a9a16fae475e719896982eb1d9bb96fc6529cbaf4d66b8c09f08b008d358379",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/secretariat-compnet/actions/runs/37852362189"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-08T22:21:04.000Z",
      "commit": "52b644d78f023fa49e604ba11a021a7174732b96",
      "fileid": "https://r2.ropensci.org/9cf0401d182e355de69e0c6cb05aceca596b3c9a25f18f9da1e74413713dc59d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/secretariat-compnet/actions/runs/37852362189"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-08T22:21:05.000Z",
      "commit": "52b644d78f023fa49e604ba11a021a7174732b96",
      "fileid": "https://r2.ropensci.org/8bb7b95d4670b510ea62301c513378414f3e5e0ccef4a3b39d9f5bd2c8b0e790",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/secretariat-compnet/actions/runs/37852362189"
    }
  ]
}