Description Usage Arguments Examples
Mutate an EAV table (e.g., add/modify rows)
1 | mutate_eav(.data, ...)
|
... |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | tinyeav %>%
mutate_eav(middle = "Ramsey")
tinyeav %>%
group_by(empid) %>%
summarize(var = "middle",
value = "Ramsey") %>% {
bind_rows(tinyeav, .)}
tinyeav %>%
mutate_eav(middle = if_else(first == "John", "Ramsey", middle))
tinyeav %>%
group_by(empid) %>%
summarize(middle = if_else(any(var == "first" & value == "John"), "Ramsey", lookup(value, var == "middle") ))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.