tags_df {linelist} | R Documentation |
Extract a data.frame of all tagged variables
Description
This function returns a data.frame
of all the tagged variables stored in a
linelist
. Note that the output is no longer a linelist
, but a regular
data.frame
.
Usage
tags_df(x)
Arguments
x |
a |
Value
A data.frame
of tagged variables.
Examples
if (require(outbreaks)) {
## create a linelist
x <- measles_hagelloch_1861 |>
make_linelist(
id = "case_ID",
date_onset = "date_of_prodrome",
age = "age",
gender = "gender"
)
x
## get a data.frame of all tagged variables
tags_df(x)
}
[Package linelist version 2.0.1 Index]