Finds the first column that can be used as the primary key.
Source:R/new_app.R
find_primary_key_column.Rd
This function loops through the given data.frame and returns the name of the first column it finds that could be used as a primary key. That is, the first column where the length of unique values equals the number of rows.