The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

datadict

datadict validates a dataset against a data-dict.yaml data dictionary, and reports the findings as a self-contained HTML report.

Installation

# Install the released version from CRAN
install.packages("testthat")

# Or the development version from GitHub:
# install.packages("pak")
pak::pak("r-lib/testthat")

Example

Point dd_validate_data() at a directory holding a data-dict.yaml file and the parquet files it describes:

library(datadict)

dd_validate_data("inst/data")

This writes an HTML report and opens it in a browser. A dataset that fails validation is not an R error: the report is the point, so check the returned status to see whether the run passed.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.