name change and export function

This commit is contained in:
Andreas Gammelgaard Damsbo 2024-02-07 10:09:36 +01:00
commit 4643e7a806
5 changed files with 13 additions and 15 deletions

View file

@ -0,0 +1,28 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.r
\name{is_repeated_longitudinal}
\alias{is_repeated_longitudinal}
\title{Test if repeatable or longitudinal}
\usage{
is_repeated_longitudinal(
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{
is_repeated_longitudinal(c("record_id", "age", "record_id", "gender"))
is_repeated_longitudinal(redcapcast_data)
is_repeated_longitudinal(list(redcapcast_data))
}