| flag | R Documentation |
Use within a custom chunk to "flag" a constituency with a
Y/N column. See examples
flag(constituency)
constituency |
A constituency defined with the Disco Engine |
custom
## among those with a rating of 1, who attended an event in 2016?
wealthy = has_capacity(1)
event_attendee = attended_event(from = 20160101, to = 2016)
wealthy %>%
custom(
event_attendee_16 = flag(event_attendee)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.