feat: default generic filename and ensure correct suffix

This commit is contained in:
Andreas Gammelgaard Damsbo 2026-01-28 22:27:58 +01:00
commit 9d0f92d154
No known key found for this signature in database
2 changed files with 16 additions and 4 deletions

View file

@ -4,7 +4,12 @@
\alias{export_redcap_instrument}
\title{Creates zip-file with necessary content to manually add instrument to database}
\usage{
export_redcap_instrument(data, file, force = FALSE, record.id = "record_id")
export_redcap_instrument(
data,
file = here::here(paste0("instrument_", Sys.Date(), ".zip")),
force = FALSE,
record.id = "record_id"
)
}
\arguments{
\item{data}{metadata for the relevant instrument.