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)

## Arguments

db

a connection to a dexter database, e.g. the output of start_new_project or open_project

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.

nothing

## 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