pivot_wider issue “Values in `values_from` are not uniquely identified; output will contain list-cols”
Create a unique identifier row for each name and then use pivot_wider library(dplyr) d %>% group_by(name) %>% mutate(row = row_number()) %>% tidyr::pivot_wider(names_from = name, values_from = val) %>% select(-row) # A tibble: 51 x 4 # time x1 `C Farolillo` `Plaza Eliptica` # <date> <dbl> <dbl> <dbl> # 1 2016-04-20 51.5 7 32 # 2 … Read more