i have this table
df <- tibble(
club = c("Avai", "Figueirense"),
"2019_revenue" = runif(min = 100, max =300, n = 2),
"2018_revenue" = runif(min = 100, max =300, n = 2),
"2017_revenue" = runif(min = 100, max =300, n = 2),
"2019_division" = c("A","B"),
"2018_division" = c("B","B"),
"2017_division" = c("A","B")
)
and i want to reorganize this, so the coluns can be "club","year", "revenue" and "division", in this order. whant can i do to make this? can i use pivot_longer?