2024-02-06 14:16:20 +01:00
|
|
|
% Generated by roxygen2: do not edit by hand
|
|
|
|
% Please edit documentation in R/utils.r
|
2024-02-07 10:09:36 +01:00
|
|
|
\name{is_repeated_longitudinal}
|
|
|
|
\alias{is_repeated_longitudinal}
|
2024-02-06 14:16:20 +01:00
|
|
|
\title{Test if repeatable or longitudinal}
|
|
|
|
\usage{
|
2024-02-07 10:09:36 +01:00
|
|
|
is_repeated_longitudinal(
|
2024-02-06 14:16:20 +01:00
|
|
|
data,
|
|
|
|
generics = c("redcap_event_name", "redcap_repeat_instrument", "redcap_repeat_instance")
|
|
|
|
)
|
|
|
|
}
|
|
|
|
\arguments{
|
|
|
|
\item{data}{data set}
|
|
|
|
|
|
|
|
\item{generics}{default is "redcap_event_name", "redcap_repeat_instrument"
|
|
|
|
and "redcap_repeat_instance"}
|
|
|
|
}
|
|
|
|
\value{
|
|
|
|
logical
|
|
|
|
}
|
|
|
|
\description{
|
|
|
|
Test if repeatable or longitudinal
|
|
|
|
}
|
|
|
|
\examples{
|
2024-02-07 10:09:36 +01:00
|
|
|
is_repeated_longitudinal(c("record_id", "age", "record_id", "gender"))
|
|
|
|
is_repeated_longitudinal(redcapcast_data)
|
|
|
|
is_repeated_longitudinal(list(redcapcast_data))
|
2024-02-06 14:16:20 +01:00
|
|
|
}
|