Description Usage Arguments Value Examples
Subset a data frame row-wise by matching row values to a regex pattern
1 | subset_row(df, pattern, x)
|
df |
A data frame |
pattern |
A regex pattern. |
x |
Column name to search through. Only specify 1 column name |
A data frame with row values which match the pattern. All columns in the data frame are returned.
1 | subset_row(who_data, pattern = "^A", "country_name")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.