View source: R/create_dataset.R
create_dataset | R Documentation |
Filtering and rearranging the dataset
create_dataset(data = vaers_2020, vaxname = "ZOSTER (SHINGRIX)")
data |
One of the vaers datasets or the output of the create_dummy function from this package |
vaxname |
Name of the vaccine you want to filter for. Please use show_vaccines(data = vaers_20xx) to get a sorted list of the vaccine names. |
Returns the filtered dataset with a new column order.
create_dataset(vaers_2020, "COVID19 (COVID19 (JANSSEN))") create_dataset(data = vaers_2020, vaxname = "COVID19 (COVID19 (JANSSEN))") vaers_2020 %>% create_dataset(vaxname = "COVID19 (COVID19 (JANSSEN))") vaers_2018 %>% create_dummy("headache", c("Headache")) %>% create_dataset("ZOSTER (SHINGRIX)") vaers_2018 %>% create_dummy("headache", c("Headache")) %>% create_dummy("breathlessness", c("Breathlessness")) %>% create_dataset("ZOSTER (SHINGRIX)")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.