add_person_properties | R Documentation |
Add, change or define person properties in a dexter project. Person properties defined here will
also be automatically imported with add_booklet
add_person_properties(db, person_properties = NULL, default_values = NULL)
db |
a connection to a dexter database, e.g. the output of |
person_properties |
A data frame containing a column person_id and 1 or more other columns with person properties (e.g. education_type, birthdate) |
default_values |
a list where the names are person_properties and the values are defaults. The defaults will be used wherever the person property is unknown. |
Due to limitations in the sqlite database backend that we use, the default values for a person property can only be defined once for each person_property
nothing
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.