I was trying to do some data analysis on database table column pairs
Details
DF <- data.frame(TABLE=c('TA','TB'),COLUMN=c('ID','TABLE'),value=c(1,1))
spread(DF,COLUMN,value)
gives
ID TABLE
1 1 NA
2 NA 1
same for tibble.
Should be in my opinion an ERROR or at least a WARNING.
(Hope I didn't make any mistakes)