This repository contains R code which extracts metadata for variables from STATA (dta) files for the MDM of the research data center of the dzhw. If you do not work for the research data center of the dzhw, this package will probably be only useful for learning purposes, as it is specifically designed to help with our internal processes. You find the workflow to use it here.
Developers need to setup the R devtools on their machine.
install.packages("devtools", dependencies = TRUE)
devtools::install_github("dzhw/variableMetadataPreparation")
After setting up devtools you can install all required R packages with
You can build the package on you local machine with
Before pushing to Github (and thus kicking of CI) you should run
First you should clear the following directories:
Q:\Variablenexport\variableMetadataPreparation\miniCRAN
Q:\Variablenexport\variableMetadataPreparation\bin
Q:\Variablenexport\variableMetadataPreparation\library
Github actions currently creates a bin-and-miniCRAN.zip
. This archive needs to be extracted in the “geschützter Bereich” to Q:\Variablenexport\variableMetadataPreparation
.
Please file an issue in our issue tracker