| stripHTMLandUnicode | R Documentation | 
exportRecordsType AttributesThese functions assist in setting attributes for columns of the resulting type cast data.frame.
stripHTMLandUnicode(field_name, field_label, field_annotation)
unitsFieldAnnotation(field_name, field_label, field_annotation)
| field_name | 
 | 
| field_label | 
 | 
| field_annotation | 
 | 
Functions passed into the assignment argument list of
exportRecordsTyped() construct attributes on a column.
They are expected to have a signature of function(field_name, field_label, field_annotation) and return the attribute to assign or NA.
They must be vectorized.
Useful utilities are provided in stringCleanup()
stripHTMLandUnicode strips both HTML and UNICODE from the field_label.
unitsFieldAnnotation pulls a units string from the field_annotation.
An example of the form searched for is units=\{"meters"\}
stripHTMLandUnicode returns a character vector.
unitsFieldAnnotation returns a character vector.
exportRecordsTyped(), 
exportReportsTyped(), 
stripHTMLTags(), 
stripUnicode()
## Not run: 
stripHTMLandUnicode("field_name", "<b>Field label</b>", "field annotation")
unitsFieldAnnotation("field", "label", "units={\"meters\"}")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.