.has_info_in_record | R Documentation |
Given a dataframe that was pivoted using info variables stored in pivot_cols, return only the rows that have at least 1 info variable filled out. Essentially, check each row and return TRUE if any info column is not NA. This is necessary because not all info variables will be included in every report.
.has_info_in_record(record_df, pivot_cols)
record_df |
Pivoted dataframe with extracted info variables |
pivot_cols |
Which info columns the df was pivoted by |
Logical vector of which rows to keep
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.