AFAII the missing film is for films TBA, in our case it's in 2023, so I don't believe it's a mistake.
We could either :
remove the primary keys
remove the problematic records t
replace the NA with a new value
film is the most important key of the dm so the dm has little value without it. Removing the row seems the easiest. A problem is we don't match {pixarfilms}'s data anymore.
The second issue is simply because one can have several persons with the same role on a movie, so we might have no pk or a pk on all 3 columns. The key doesn't have any child table so removing it seems the best solution to me.
Both issues happened because dm_add_pk() was used with check = FALSE(default), so I'll use check=TRUE in the fixed version.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
Created on 2021-12-09 by the reprex package (v2.0.1)
AFAII the missing film is for films TBA, in our case it's in 2023, so I don't believe it's a mistake. We could either :
film
is the most important key of the dm so the dm has little value without it. Removing the row seems the easiest. A problem is we don't match {pixarfilms}'s data anymore.The second issue is simply because one can have several persons with the same role on a movie, so we might have no pk or a pk on all 3 columns. The key doesn't have any child table so removing it seems the best solution to me.
Both issues happened because
dm_add_pk()
was used withcheck = FALSE
(default), so I'll usecheck=TRUE
in the fixed version.