Functie om per document het documentatiebestand in te lezen, de data in te lezen
en de assertion uit te voeren. Zowel het databestand(.rds) als het documentatiebestand(.csv)
kan worden meegegeven als filepath. Deze functie wordt zowel gebruikt in de validate_script
functie als in XX. Testraamwerk/Testen_scripts.R.
Usage
test_file_on_documentation(
filepath,
export_naar_dataframe = FALSE,
processbar = NULL
)
Arguments
- filepath
Het verkorte filepath van het data- of documentatie bestand
- export_naar_dataframe
Default: FALSE. Whether to export results to a data frame.
- processbar
Mogelijkheid om processbar te weergeven bij gebruik van map en deze functie.