glue_neuropsych_results | R Documentation |
This function filters a dataframe based on a specified condition, concatenates all of the columns into a single string, and writes the result to a file.
glue_neuropsych_results(df, filter, result, file)
df |
A dataframe from which data is to be filtered and concatenated. |
filter |
A character vector or list specifying the filter condition for the 'scale' column of the dataframe. |
result |
This parameter appears to be unused and can potentially be removed. |
file |
A character string specifying the path to the output file where the concatenated text will be saved, default is '_raw_text.qmd'. |
This function uses dplyr for data manipulation, glue for data concatenation, and purrr for functional programming.
The name of the file to which the result was written, useful for passing the file to other functions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.