randrescastaneda / joyn

joyn provides a set of tools to analyze the quality of merging (i.e., joining) data frames. It is a JOY to join with joyn
https://randrescastaneda.github.io/joyn/
Other
9 stars 4 forks source link

fix display of join_consistency #1

Closed randrescastaneda closed 2 years ago

randrescastaneda commented 3 years ago

change keyby1 for real name

dw <- joyn::merge(pf, nac, 
+                   by = c("country_code", "ceiling_year == year"),
+                   yvars = c("pce", "gdp"), 
+                   join_type = "1:m")
Error: databse x is not uniquely
identified by `country_code`  and `keyby1`
i Check the join type, the key variables or the consistency of
    your data