Generate raw data for a single study (Deprecated)
Source:R/generate_rawdata_for_single_study.R
generate_rawdata_for_single_study.RdThis function is deprecated. Please use the study configuration approach
instead: create_study_config(), add_dataset_config(), and
generate_study_data(). See vignette("study-setup", package = "gsm.datasim")
for a full walkthrough.
Usage
generate_rawdata_for_single_study(
SnapshotCount,
SnapshotWidth,
ParticipantCount,
SiteCount,
StudyID,
workflow_path,
mappings,
package,
strStartDate = "2012-01-01",
desired_specs = NULL
)Arguments
- SnapshotCount
Number of snapshots to generate.
- SnapshotWidth
Width of each snapshot interval (in days).
- ParticipantCount
Number of participants.
- SiteCount
Number of sites.
- StudyID
Study identifier string.
- workflow_path
Path to the workflow YAML files.
- mappings
Named list of column mappings.
- package
Package name used to locate specs.
- strStartDate
Study start date as a string (default
"2012-01-01").- desired_specs
Optional character vector of dataset names to keep.