Skip to contents

All functions

append_no_duplicate_names()
Add elements to a vector, only if names are not duplicated in x and values
c_to_n()
Extract numeric values from character values
dateany_to_date()
Reformat any date format (ISO8601 character string, POSIXt, or Date) to be a Date object
detect_domain()
Detect the SDTM or ADaM domain of a dataset (possibly via filename)
generate_dtc()
Convert dates and times to SDTM-formatted ISO8601 datetime values
import_sdtm() import_sdtm_dir() import_sdtm_file()
Import an SDTM or ADaM file or directory of files
is_ISO8601_calendar_date() is_ISO8601_week_date() is_ISO8601_ordinal_date()
Determine if a string is an ISO 8601 calendar date
is_ISO8601_calendar_datetime()
Determine if a string matches an ISO 8601 date/time using calendar date notation
is_ISO8601_ordinal_datetime()
Determine if a string matches an ISO 8601 date/time using ordinal date notation
is_ISO8601_time()
Determine if a string is an ISO 8601 time
is_ISO8601_timezone()
Determine if a string is an ISO 8601 timezone
is_ISO8601_week_datetime()
Determine if a string matches an ISO 8601 date/time using week date notation
make_dy()
Calculate an SDTM --DY value from a date and a reference date
make_param_label()
Generate a parameter label combining specimen type, parameter name, and units
make_sdtm_domain_from_domain()
Extract the domain from a dataset.
make_sdtm_domain_from_filename()
Simplify a filename down to the SDTM list name that should be provided.
merge_supp()
Merge a supplementary dataset into a primary dataset
pattern_ISO8601_any_date()
Generate a regular expression matching any ISO8601 date format
pattern_ISO8601_any_datetime()
Generate a regular expression matching any ISO8601 date format with time
pattern_ISO8601_calendar_date()
Generate a regular expression matching an ISO8601 calendar date
pattern_ISO8601_calendar_datetime()
Generate a regular expression matching an ISO8601 calendar date with time
pattern_ISO8601_calendar_year()
Generate a regular expression matching an ISO8601 calendar year
pattern_ISO8601_date_builder()
Build an ISO8601 date pattern from the year, middle (month or week), day, and time patterns.
pattern_ISO8601_ordinal_date()
Generate a regular expression matching an ISO8601 ordinal date
pattern_ISO8601_ordinal_datetime()
Generate a regular expression matching an ISO8601 ordinal date with time
pattern_ISO8601_time()
Generate a regular expression for ISO 8601 times
pattern_ISO8601_timezone()
Generate a regular expression for ISO 8601 timezones.
pattern_ISO8601_week_date()
Generate a regular expression matching an ISO8601 week date
pattern_ISO8601_week_datetime()
Generate a regular expression matching an ISO8601 week date with time
scale_x_VISITDY()
A scale for ggplots with SDTM day (DY) numbering
sdtm_dtc_to_datetime()
Convert the character representation of the date in an original SDTM dataset to a POSIXct object.
sdtm_example_dataverse_ae
Example SDTM Adverse Events Data
sdtm_example_dataverse_dm
Example SDTM Demographics Data
sdtm_example_dataverse_eg
Example SDTM ECG Test Results Data
sdtm_example_dataverse_lb
Example SDTM Laboratory Test Results Data
sdtm_example_dataverse_mh
Example SDTM Medical History Data
sdtm_example_dataverse_pe
Example SDTM Physical Examination Data
sdtm_example_dataverse_vs
Example SDTM Vital Signs Data
sdtm_example_theoph_ex
Example SDTM Exposure Data
sdtm_example_theoph_pc
Example SDTM Pharmacokinetics Concentration Data
sdtm_first_dose()
Find the time of the first dose
sdtm_terminology
The current SDTM terminology
sdtm_time_actual()
Generate actual times from dates and times
simplify_sdtm_names()
Simplify the names of an SDTM data.frame to remove the DOMAIN from name prefixes.
standardize_sdtm_id()
Standardize the SDTM ID columns (STUDYID, USUBJID, and SUBJID)
strip_attributes()
Remove attributes from an object
supp_reformat()
Reformat a --SUPP SDTM domain into a list of data.frames ready for merging into the primary domain.
valid_versions
A data.frame with 4 columns and one row per valid SDTM version/IG/IG version combination