Hi R com
I have this DF:
structure(list(date = structure(c(18259, 18266, 18273, 18280,
18287, 18294, 18301, 18308, 18315, 18322, 18329, 18336, 18343,
18350, 18357, 18364, 18371, 18378, 18385, 18392, 18399, 18406,
18413, 18420, 18427, 18434, 18441, 18448, 18455, 18462, 18469,
18476, 18483, 18490, 18497, 18504, 18511, 18518, 18525, 18532,
18539, 18546, 18553, 18560, 18567, 18574, 18581, 18588, 18595,
18602, 18609, 18616, 18623, 18630, 18637, 18644, 18651, 18658,
18665, 18672, 18679, 18686, 18693, 18700, 18707, 18714, 18721,
18728, 18735, 18742, 18749, 18756, 18259, 18266, 18273, 18280,
18287, 18294, 18301, 18308, 18315, 18322, 18329, 18336, 18343,
18350, 18357, 18364, 18371, 18378, 18385, 18392, 18399, 18406,
18413, 18420, 18427, 18434, 18441, 18448, 18455, 18462, 18469,
18476, 18483, 18490, 18497, 18504, 18511, 18518, 18525, 18532,
18539, 18546, 18553, 18560, 18567, 18574, 18581, 18588, 18595,
18602, 18609, 18616, 18623, 18630, 18637, 18644, 18651, 18658,
18665, 18672, 18679, 18686, 18693, 18700, 18707, 18714, 18721,
18728, 18735, 18742, 18749, 18756), class = "Date"), item_id = c("AS2008",
"AS2008", "AS2008", "AS2008", "AS2008", "AS2008", "AS2008", "AS2008",
"AS2008", "AS2008", "AS2008", "AS2008", "AS2008", "AS2008", "AS2008",
"AS2008", "AS2008", "AS2008", "AS2008", "AS2008", "AS2008", "AS2008",
"AS2008", "AS2008", "AS2008", "AS2008", "AS2008", "AS2008", "AS2008",
"AS2008", "AS2008", "AS2008", "AS2008", "AS2008", "AS2008", "AS2008",
"AS2008", "AS2008", "AS2008", "AS2008", "AS2008", "AS2008", "AS2008",
"AS2008", "AS2008", "AS2008", "AS2008", "AS2008", "AS2008", "AS2008",
"AS2008", "AS2008", "AS2008", "AS2008", "AS2008", "AS2008", "AS2008",
"AS2008", "AS2008", "AS2008", "AS2008", "AS2008", "AS2008", "AS2008",
"AS2008", "AS2008", "AS2008", "AS2008", "AS2008", "AS2008", "AS2008",
"AS2008", "AS2010", "AS2010", "AS2010", "AS2010", "AS2010", "AS2010",
"AS2010", "AS2010", "AS2010", "AS2010", "AS2010", "AS2010", "AS2010",
"AS2010", "AS2010", "AS2010", "AS2010", "AS2010", "AS2010", "AS2010",
"AS2010", "AS2010", "AS2010", "AS2010", "AS2010", "AS2010", "AS2010",
"AS2010", "AS2010", "AS2010", "AS2010", "AS2010", "AS2010", "AS2010",
"AS2010", "AS2010", "AS2010", "AS2010", "AS2010", "AS2010", "AS2010",
"AS2010", "AS2010", "AS2010", "AS2010", "AS2010", "AS2010", "AS2010",
"AS2010", "AS2010", "AS2010", "AS2010", "AS2010", "AS2010", "AS2010",
"AS2010", "AS2010", "AS2010", "AS2010", "AS2010", "AS2010", "AS2010",
"AS2010", "AS2010", "AS2010", "AS2010", "AS2010", "AS2010", "AS2010",
"AS2010", "AS2010", "AS2010"), value = c(`25%` = 12, `25%` = 35,
`25%` = 32, `25%` = 34, `25%` = 22, `25%` = 26, `25%` = 45, `25%` = 51,
`25%` = 40, `25%` = 26, `25%` = 53, `25%` = 11, `25%` = 47, `25%` = 25,
`25%` = 64, `25%` = 30, `25%` = 40, `25%` = 34, `25%` = 59, `25%` = 26,
`25%` = 47, `25%` = 51, `25%` = 23, `25%` = 33, `25%` = 53, `25%` = 23,
`25%` = 25, `25%` = 60, `25%` = 53, `25%` = 21, `25%` = 37, `25%` = 31,
`25%` = 27, `25%` = 34, `25%` = 30, `25%` = 18, `25%` = 51, `25%` = 25,
`25%` = 27, `25%` = 45, `25%` = 48, `25%` = 34, `25%` = 44, `25%` = 16,
`25%` = 34, `25%` = 24, `25%` = 42, `25%` = 38, `25%` = 38, `25%` = 42,
`25%` = 33, `25%` = 20, `25%` = 12, `25%` = 20, `25%` = 30, `25%` = 27,
`25%` = 21, `25%` = 57, `25%` = 24, `25%` = 23, `25%` = 38, `25%` = 30,
`25%` = 23, `25%` = 23, `25%` = 21, `25%` = 5, `25%` = 43, `25%` = 31,
`25%` = 21, `25%` = 45, `25%` = 20, `25%` = 6, `25%` = 25, `25%` = 18,
`25%` = 37, `25%` = 29, `25%` = 33, `25%` = 43, `25%` = 33, `25%` = 46,
`25%` = 41, `25%` = 37, `25%` = 53, `25%` = 46, `25%` = 24, `25%` = 17,
`25%` = 40, `25%` = 13, `25%` = 52, `25%` = 38, `25%` = 40, `25%` = 32,
`25%` = 43, `25%` = 42, `25%` = 24, `25%` = 26, `25%` = 43, `25%` = 26,
`25%` = 29, `25%` = 43, `25%` = 49, `25%` = 41, `25%` = 32, `25%` = 32,
`25%` = 20, `25%` = 37, `25%` = 17, `25%` = 12, `25%` = 33, `25%` = 36,
`25%` = 23, `25%` = 25, `25%` = 41, `25%` = 25, `25%` = 40, `25%` = 9,
`25%` = 57, `25%` = 19, `25%` = 58, `25%` = 20, `25%` = 58, `25%` = 70,
`25%` = 33, `25%` = 13, `25%` = 6, `25%` = 31, `25%` = 34, `25%` = 34,
`25%` = 16, `25%` = 25, `25%` = 9, `25%` = 15, `25%` = 15, `25%` = 44,
`25%` = 35, `25%` = 22, `25%` = 33, `25%` = 24, `25%` = 34, `25%` = 22,
`25%` = 23, `25%` = 17, `25%` = 11, `25%` = 22)), row.names = c(NA,
-144L), class = c("tbl_df", "tbl", "data.frame"))
Class = df and i want to transform it to a ts object that can be used with the TSstudio package (ts,xts,zoo)
want to use the ts_season(data, type = "normal") function from the TSstudio package.
Thanks
any help?