As the question says: what is the best way to calculate the % difference between weeks.
I'm putting an image to see what is the expetec result (in form, numbers are different):
data has 3 weeks... but it could be more. The idea is always compare WeekN with WeekN - 1, WeekN - 1 vs WeekN - 2, and so on
df:
df <- structure(list(week = c(25, 26, 27), viernes = c(6027, 4731,
6022), sábado = c(NA, 7807, 5059), domingo = c(NA, 10360, 5914
), lunes = c(NA, 6165, 6443), martes = c(NA, 5274, 7157), miércoles = c(NA,
4764, 7411), jueves = c(NA, 4377, 7176)), class = c("tbl_df",
"tbl", "data.frame"), row.names = c(NA, -3L))
