An open API service indexing awesome lists of open source software.

https://github.com/finnishcancerregistry/iarccrgtools

Use IARC CRG Tools from the comfort of your R session.
https://github.com/finnishcancerregistry/iarccrgtools

automation cancer-registry data-processing epidemiology iarc-crg-tools public-health r-integration windows-executable-interface windows-integration

Last synced: 7 months ago
JSON representation

Use IARC CRG Tools from the comfort of your R session.

Awesome Lists containing this project

README

          

# Package `iarccrgtools`

Utilities for using IARC CRG Tools on Windows via R.

[![R-CMD-check](https://github.com/WetRobot/iarccrgtools/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/WetRobot/iarccrgtools/actions/workflows/R-CMD-check.yaml)

# Recommended installation

```r
devtools::install_github(
"FinnishCancerRegistry/iarccrgtools",
ref = readline("enter latest tag on github: ")
)
```

# Example
```r
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
)
```