A data.frame containing randomly created clinical trial data. Used for
testing purposes. It will also be used to run the app with example data when
executing run_app() with the default configuration settings, or when
running either test_clinsight() or golem::run_dev(). See also
vignette('Metadata') and vignette('clinsight') for an explanation on how
to create custom study data for clinsight.
Format
a data.frame with 6076 rows and 22 variables.
site_code: character or integer, identifier for study site.subject_id: character, unique identifier for a subject.event_id: character, event identifier in raw data. Replaced byevent_nameandevent_labelwithin ClinSight. An "event" generally characterizes some sort of site visit (e.g. "Screening", "Visit 1", "Visit 2"). Note that someevent_ids track events that could apply outside of any visit, like AE, ConMed, Medical History, etc.event_name: character, the name of an event identifier used within the application. Created after merging raw data with metadata.event_label: character, shorter name of an event identifier. Created after merging raw data with metadata. Used instead ofevent_namefor some compact visualizations.event_date: Date, the date associated withevent_name.event_repeat: integer, keeps track of uniqueevent_idfor a singlesubject_idandevent_date.form_id: character, a uniqueform_ididentifier. Currently unused;item_groupis used instead, which is controlled using the metadata.form_repeat: integer, keeps track of uniqueitem_names collected from a specific form for a givensubject_id.form_repeatis particularly helpful when consolidating data like Adverse Events into this data format. Specifically, if more than one AE is collected on a patient, they'll have more than oneform_repeat.edit_date_time: date-time (POSIXct), the last time this record was edited.region: character, describing the region code thatsite_codefalls under.day: adifftime()R object, measuring the number of days each visit is from screening.vis_day: numeric, a numeric representation ofday. Created after merging raw data with metadata.vis_num: numeric, a numeric representation ofevent_name. Created after merging raw data with metadata. Only counted for scheduled events (can be controlled in the metadata).item_name: character, the name of a metric or parameter of interest.item_type: character, classifiesitem_names into either 'continuous' or 'other', where continuous types are those generally associated with the CDISC "basic data structure" (BDS). That is, eachitem_namemetric is collected over time at a patient visit (event_name). The 'other' type represents all non-time dependent measures, like demographic info, adverse events, Medications, medical history, etc.item_group: character, defines in which form the items withitem_namewill appear.item_value: character, the measurement collected for a givenitem_name. The value collected may be a number like 150 (when collecting a patient's weight) or a word (such as 'white' for the subject's race).item_unit: character, tracking the unit of measurement foritem_nameanditem_value.lower_lim: numeric, someitem_names (particularly the 'continuous' type) have a pre-defined range of values that are considered normal. This is the lower limit to that range.upper_lim: numeric, someitem_names (particularly the 'continuous' type) have a pre-defined range of values that are considered normal. This is the upper limit to that range.significance: character, either 'CS' which means 'Clinically Significant' or 'NCS' which means 'Not Clinically Significant'.reason_notdone: character, an effort to describe why theitem_valuefield isNA/ missing.
