| rm_check_log | R Documentation |
Removes the attached check log from either an olink_class tibble or an
ArrowObject. For tibbles this converts the object to a plain tibble (removing
the olink_class class and the check_log attribute). For ArrowObjects it
removes the olink_check_log metadata key. If the input carries no check
log, it is returned unchanged.
rm_check_log(df)
df |
An |
The data without the check log: a plain tibble (tbl_df) when given
an olink_class tibble, or the ArrowObject with the olink_check_log
metadata key removed when given an ArrowObject. Other inputs are returned
unchanged.
## Not run:
# read NPX data (returns olink_class object)
npx_file <- system.file(
"extdata",
"npx_data_ext.parquet",
package = "OlinkAnalyze"
)
npx_obj <- OlinkAnalyze::read_npx(
filename = npx_file
)
# strip check log, returning a plain tibble
npx_tbl <- OlinkAnalyze::rm_check_log(
df = npx_obj
)
class(npx_tbl)
OlinkAnalyze::extract_check_log(
df = npx_tbl
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.