Utilities for using IARC CRG Tools on Windows via R.
devtools::install_github(
"FinnishCancerRegistry/iarccrgtools",
ref = readline("enter latest tag on github: ")
)
dir_path <- tempdir()
iarccrgtools::iarc_workdir_set(dir_path)
tool_name <- "check"
subset <- "mandatory"
iarc_df <- iarccrgtools::tool_colnameset_example_dataset(
paste0(subset, "_", tool_name), n.rows = 10L
)
results <- iarccrgtools::interact_with_tool(
iarc_df, tool.name = tool_name, clean = TRUE
)
result_df <- iarccrgtools::connect_tool_results_to_observations(
record.ids = iarc_df[["record_id"]], tool.results = results
)