Description Usage Arguments Value See Also
Get the field names of dataframe with specified type.
1 2 3 4 5 6 7 8 |
data |
A vector of date/timestamps. |
expect_type |
A character of type to test, e.g. "numeric", "integer", "double", "character", "date", "factor", "list", "NA" |
negate |
A logic flag of whether to negate expect_type of not, Default FALSE means not to negate the expect_type. |
predicate_fun |
A function used as testing, return TRUE if matched. Default NULL means not to use predicate_fun for testing. |
... |
Params to predicate_fun. |
A vectors of field names with specified type. If no field is expect type, return a character(0).
Other utils_fields:
is_type_field()
,
verify_fields()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.