Description Usage Arguments Examples
Data read in to character tibble by read_csv(...,col_types = cols(.default=col_character()))). Takes parsing function as input so can differentiate between different column types. Takes tibble and returns vector
1 | parse_elg_field(df, field, regex, parse_fun, ...)
|
df |
character tibble |
field |
name of field to parse (passed to warning and message functions for readability). |
regex |
regex for finding the appropriate field. Can be vector of searches with earlier values prioritized. |
parse_fun |
the parsing function to use in creating the new vector |
... |
additional parameters passed to parse_fun (i.e. format = "" for parse_date) |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.