tags | R Documentation |
This function returns the list of tags identifying specific variable types in
a linelist
.
tags(x, show_null = FALSE)
x |
a |
show_null |
a |
Tags are stored as the tags
attribute of the object.
The function returns a named list
where names indicate generic
types of data, and values indicate which column they correspond to.
if (require(outbreaks)) {
## make a linelist
x <- make_linelist(measles_hagelloch_1861, date_onset = "date_of_prodrome")
## check non-null tags
tags(x)
## get a list of all tags, including NULL ones
tags(x, TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.