View source: R/peekds_validators.R
ds.validate_trial_uniqueness_constraint | R Documentation |
Check if within aoi_timepoints table, there is no duplication in all the administration_ids associated with each individual trial_id
ds.validate_trial_uniqueness_constraint(df_aoi_timepoints)
df_table |
the aoi_timepoints dataframe |
cdi_expected |
specifies whether cdi_data is to be expected to be present in the imported data; only relevant for subjects table. We could consider creating a special table type, so that invalid combinations of table_type and cdi_expected cannot happen, but it does not break anything, so low priority |
an empty string when all the administration_ids are unique within each trial_id; Otherwise, the error message will be returned.
## Not run:
is_valid <-ds.validate_table(df_table = df_table, table_type = "xy_data", cdi_expected = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.