styling and new function is.repeated_longitudinal()

This commit is contained in:
Andreas Gammelgaard Damsbo 2024-02-06 14:02:55 +01:00
commit e1509188ff
4 changed files with 188 additions and 139 deletions

View file

@ -6,7 +6,7 @@
\usage{
sanitize_split(
l,
generic.names = c("record_id", "redcap_event_name", "redcap_repeat_instrument",
generic.names = c("redcap_event_name", "redcap_repeat_instrument",
"redcap_repeat_instance")
)
}

View file

@ -36,10 +36,12 @@ universal_fields <- c("id")
# Create the fields
fields <- matrix(
c("form_a_name", "form_a",
c(
"form_a_name", "form_a",
"form_a_age", "form_a",
"form_b_name", "form_b",
"form_b_gender", "form_b"),
"form_b_gender", "form_b"
),
ncol = 2, byrow = TRUE
)