Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

add check workflow #37

Merged
merged 1 commit into from
Mar 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,8 @@ For nutrition survey datasets that include MUAC measurements, the IPC recommends

The following diagram illustrates how this process/workflow using the `ipctools` functions:

```{r, results = "asis"}
"```mermaid
graph TD;
'Process dataset using process_muac_data()' --> 'Check for missing data using check_missing_data()'
'Check for missing data using check_missing_data()' --> 'A tibble showing number and proportion of missing data per variable'
'Check for missing data using check_missing_data()' --> 'Check data quality using ipc_muac_checks()'
'Check data quality using ipc_muac_checks()' --> 'A list of data quality checks performed and their results'
```"
```{r ipctools-workflow, echo = FALSE, fig.align = "center"}
knitr::include_graphics("https://github.com/nutriverse/ipctools/assets/5742010/68f0425a-ec51-48f0-8cd2-c0ea50f18e6f")
```

The functions in `ipctools` are pipe-friendly hence the workflow described above can be done through piped operations as follows:
Expand Down
13 changes: 1 addition & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,7 @@ processed) to provide an assessment of data quality.
The following diagram illustrates how this process/workflow using the
`ipctools` functions:

``` r
"```mermaid
graph TD;
'Process dataset using process_muac_data()' --> 'Check for missing data using check_missing_data()'
'Check for missing data using check_missing_data()' --> 'A tibble showing number and proportion of missing data per variable'
'Check for missing data using check_missing_data()' --> 'Check data quality using ipc_muac_checks()'
'Check data quality using ipc_muac_checks()' --> 'A list of data quality checks performed and their results'
```"
```

\[1\]
“`mermaid\n graph TD;\n 'Process dataset using process_muac_data()' --> 'Check for missing data using check_missing_data()'\n 'Check for missing data using check_missing_data()' --> 'A tibble showing number and proportion of missing data per variable'\n 'Check for missing data using check_missing_data()' --> 'Check data quality using ipc_muac_checks()'\n 'Check data quality using ipc_muac_checks()' --> 'A list of data quality checks performed and their results'\n`”
<img src="https://github.com/nutriverse/ipctools/assets/5742010/68f0425a-ec51-48f0-8cd2-c0ea50f18e6f" style="display: block; margin: auto;" />

The functions in `ipctools` are pipe-friendly hence the workflow
described above can be done through piped operations as follows:
Expand Down