powered by
Checks if a table contains a correctly formatted primary key column. Primary key column must exist, no missing values and contain unique values.
validate_pk(table, name)
`TRUE`. Generates warnings if primary key column is missing or has duplicates.
A data frame that represents the table to validate.
A string indicating the name of the table.