View source: R/processingData.R
ww_wide_to_long | R Documentation |
week is the week of the year and is obtained using the ISOweek function in the package of the same name.
ww_wide_to_long(dat, site_column, show.warning = TRUE)
dat |
The dataset from the function read_public_data() |
For 01/01/2022 (a Saturday), it is allocated to week 52 in 2021. However, day, indicating the day of the year, is 1 and month, the month of the year, is 1. If the day (or the month) column is used as time_index for the analysis, care needs to be taken! For different date definitions, see https://stackoverflow.com/questions/45549449/transform-year-week-to-date-object/45587644#45587644
A data matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.