Description Usage Arguments Details Value
Flags records based on set keywords and specified columns in a data.frame
1 | flagBioRecs(df, terms, searchfields = NULL)
|
df |
a NSSP data.frame with original column names |
terms |
a vector of stings and words of interest |
searchfields |
the index of the columns targeted for the search |
In the final table, each field will receive a 1 if there is a hit or a 0 otherwise. If a target column doesn't contain any of the sought terms it does not get included in the final table. It helps identify which field is the most relevant for this particular terms string.
a table with the Unique_Visiting_ID as the first column and a column for each field where one or more of the terms have been found.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.