1
I’m looking to fix the data base of IMF, everything worked out, only that at the time of using the function spread()
, is making this mistake.
Commando:
weo <- weo2 %>%
spread(key= `WEO Subject Code`, value=valor)
Error message:
Error: Duplicate Identifiers for Rows (8686, 8687), (17373, 17374), (26060, 26061), (34747, 34748), (43434, 43435), (52121, 52122), (60808, 60809), (69495, 69496), (78182, 78183), (86869, 86870), (95556, 95557), (104243, 104244), (112930, 112931), (121617, 121618), (130304, 130305), (138991, 138992), (147678, 147679), (156365, 156366), (165052, 165053), (173739, 173740), (182426, 182427), (191113, 191114), (199800, 199801), (208487, 208488), (217174, 217175), (225861, 225862), (234548, 234549), (243235, 243236), (251922, 251923), (260609, 260610), (269296, 269297), (277983, 277984), (286670, 286671), (295357, 295358), (304044, 304045), (312731, 312732), (321418, 321419), (330105, 330106), (338792, 338793), (347479, 347480), (356166, 356167), (364853, 364854)
Unfortunately, your question cannot be reproduced by anyone who tries to answer it. Please, take a look at this link and see how to ask a reproducible question in R, so that people who want to help you can do this in the best possible way.
– Marcus Nunes