cells_column_labels()
Let’s use a small portion of the sza dataset to create a gt table. Add footnotes to the column labels with tab_footnote() and cells_column_labels() in locations.
sza
tab_footnote()
locations
sza |> dplyr::filter( latitude == 20 & month == "jan" & !is.na(sza) ) |> dplyr::select(-latitude, -month) |> gt() |> tab_footnote( footnote = "True solar time.", locations = cells_column_labels( columns = tst ) ) |> tab_footnote( footnote = "Solar zenith angle.", locations = cells_column_labels( columns = sza ) )