Description Usage Arguments Value
This function can be used to easily swap the labels or keys of enum fields present in a cds_df. Especially useful when launching custom requests and not using 'update_cds_records()'.
1 | parse_cds_enums(cds_df, to = "key")
|
cds_df |
A cds_df tibble downloaded via 'download_cds()'. |
to |
A character scalar, either 'key' or 'label', defining what you want to parse into. Default is 'key'. |
A cds_df with all present enum columns parsed either to it's key or label, depending on the 'to' argument.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.