Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 2.04 KB

NEWS.md

File metadata and controls

51 lines (39 loc) · 2.04 KB

mlts 0.1.3

  • Fixed typos in mlts_transform() function parameter definitions to bring them inline with function variable default values as this was confusing.
  • Fixed an error generated due to names() attribute not being the same length as the vector being passed when computing the granularity list length in mlts_transform() function.
  • Removed timekit dependency.

mlts 0.1.1

  • Made extras (e.g. day of week) optional:
mlts_transform(head(r_enwiki), date, pageviews)
dt y mlts_lag_1
2015-10-02 2575 3072
2015-10-03 1431 2575
2015-10-04 1540 1431
2015-10-05 3041 1540
2015-10-06 3695 3041

vs.

mlts_transform(head(r_enwiki), "date", "pageviews", extras = TRUE, extrasAsFactors = TRUE)
dt y mlts_extras_monthday mlts_extras_weekday mlts_extras_week mlts_extras_month mlts_extras_year mlts_lag_1
2015-10-02 2575 2 Friday 40 October 2015 3072
2015-10-03 1431 3 Saturday 40 October 2015 2575
2015-10-04 1540 4 Sunday 40 October 2015 1431
2015-10-05 3041 5 Monday 40 October 2015 1540
2015-10-06 3695 6 Tuesday 40 October 2015 3041
  • Made mlts_transform more tidyversal (pipe-friendly). For example:
library(magrittr)

mlts <- r_enwiki %>%
  mlts_transform(date, pageviews)

mlts 0.1.0