Description Usage Arguments Value Examples
Given a csv, with one row per keyword + approx.match specifier, grouped according to "title" (Single value for title may span multiple keywords) transform this to something digestable by contextractr.
1 |
df |
the input dataframe, more or less a raw csv |
the input df, serialized.
1 2 3 4 5 6 7 | if (requireNamespace("readr", quietly = TRUE)){
in_csv <- readr::read_csv("../../tests/testthat/csv_specifier.csv")
print(in_csv)
out <- in_csv %>% csv_to_serial()
if (requireNamespace("utils", quietly = TRUE)) utils::str(out)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.