Specify only a subset of the names and types of fields in the source data frame. The remaining fields will be given the same 'default' type.
Usage
field_types_advanced(..., .default_field_type = ft_simple())
Examples
fts <- field_types_advanced(
PrescriptionDate = ft_timepoint(),
PatientID = ft_ignore(),
.default_field_type = ft_simple()
)
fts
#> PrescriptionDate <timepoint> options: includes_time
#> PatientID <ignore>
#> .default_field_type <simple>