I have 3 data as like this
D1
Name Item January Type
E001 Phone 45.6 T
S253 Car 765.7 -
Q78 Wood 65.1 T
D2
Name Item March May Type
E001 Phone 5.6 23 F
S253 Car 65.7 78 F
Q78 Wood 5.1 965 -
D3
Name Item Type
E001 Phone A
S253 Car A
Q78 Wood A
and need a output as like this
Name Item January March May Type
E001 Phone 45.6 5.6 23 T/F/A
S253 Car 765.7 65.7 78 -/F/A
Q78 Wood 65.1 5.1 965 T/-/A
for this I tried of this command
merge(D1,D2,D3, by = c("Name","Item"))#%>% tidyr::unite(type, dplyr::starts_with("Type"), sep = "/", na.rm = TRUE)
But it is not serving the purpose