add_person_properties {dexter} | R Documentation |
Add person properties to a project
Description
Add, change or define person properties in a dexter project. Person properties defined here will
also be automatically imported with add_booklet
Usage
add_person_properties(db, person_properties = NULL, default_values = NULL)
Arguments
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. |
Details
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
Value
nothing
[Package dexter version 1.5.0 Index]