{
  "_id": "6af30fcfbe2268deb4a39a3c",
  "Package": "trendseries",
  "Type": "Package",
  "Title": "Extract Trends from Time Series",
  "Version": "1.8.0",
  "Description": "Provides a unified interface to extract trends, cycles,\nand seasonal components from monthly and quarterly time series\nusing established filters and smoothers from econometrics and\nsignal extraction, with frequency-aware defaults for common\neconomic frequencies. Rolling and year-to-date aggregations are\nalso available, including the compounded accumulation of rates\nof change.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "URL": "https://github.com/viniciusoike/trendseries,\nhttps://viniciusoike.github.io/trendseries/",
  "BugReports": "https://github.com/viniciusoike/trendseries/issues",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Authors@R": "person(\"Vinicius\", \"Oike\", , \"viniciusoike@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0009-0005-8015-9189\"))",
  "Repository": "https://viniciusoike.r-universe.dev",
  "Date/Publication": "2026-11-10 10:55:22 UTC",
  "RemoteUrl": "https://github.com/viniciusoike/trendseries",
  "RemoteRef": "HEAD",
  "RemoteSha": "e4f42fab7bbb67670711a45f0c381bae69419aa2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-10 11:38:52 UTC",
    "User": "root"
  },
  "Author": "Vinicius Oike [aut, cre, cph] (ORCID:\n<https://orcid.org/0009-0005-8015-9189>)",
  "Maintainer": "Vinicius Oike <viniciusoike@gmail.com>",
  "_user": "viniciusoike",
  "_type": "src",
  "_file": "trendseries_1.8.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/e5288267d3594583e2a02c6a233f5788e4fc69afe2bc22fc90e5eb5b997c6e15",
  "_filesize": 1158936,
  "_sha256": "e5288267d3594583e2a02c6a233f5788e4fc69afe2bc22fc90e5eb5b997c6e15",
  "_expires": "2027-02-18T12:36:29.000Z",
  "_created": "2026-11-10T11:38:52.000Z",
  "_published": "2026-11-10T12:36:30.954Z",
  "_upstream": "https://github.com/viniciusoike/trendseries",
  "_status": "success",
  "_maintainer": {
    "name": "Vinicius Oike",
    "email": "viniciusoike@gmail.com",
    "login": "viniciusoike",
    "bluesky": "@viniciusoike.bsky.social",
    "linkedin": "in/vinicius-oike-reginatto-993826a9",
    "description": "Lead Data Scientist at Insper Cidades | Economist (MSc @ USP) | Founder of EKIO | Data and R",
    "uuid": 10688700,
    "orcid": "0009-0005-8015-9189"
  },
  "_jobs": [
    {
      "job": 129806137716,
      "time": 197,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13762152003"
    },
    {
      "job": 129806137695,
      "time": 173,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13760128560"
    },
    {
      "job": 129806137607,
      "time": 161,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13765021799"
    },
    {
      "job": 129806137565,
      "time": 138,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13764263887"
    },
    {
      "job": 129804320979,
      "time": 237,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13762241497"
    },
    {
      "job": 129806137661,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13761791924"
    },
    {
      "job": 129806137637,
      "time": 163,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13761817112"
    },
    {
      "job": 129806137703,
      "time": 130,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13761462053"
    },
    {
      "job": 129806137628,
      "time": 151,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13760638281"
    }
  ],
  "_buildurl": "https://github.com/r-universe/viniciusoike/actions/runs/42808636136",
  "_commit": {
    "id": "e4f42fab7bbb67670711a45f0c381bae69419aa2",
    "author": "viniciusoike <viniciusoike@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #43 from viniciusoike/feat/aggregate-series\n\nAdd aggregate_series() for lower-frequency aggregation",
    "time": 1794308122
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dlm",
      "role": "Imports"
    },
    {
      "package": "hpfilter",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "mFilter",
      "role": "Imports"
    },
    {
      "package": "RcppRoll",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tsbox",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "ekioplot",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "version": ">= 4.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "seasonal",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "tsibble",
      "role": "Suggests"
    }
  ],
  "_owner": "viniciusoike",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-47",
      "n": 8
    },
    {
      "week": "2025-50",
      "n": 3
    },
    {
      "week": "2026-06",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 13
    },
    {
      "week": "2026-18",
      "n": 6
    },
    {
      "week": "2026-19",
      "n": 26
    },
    {
      "week": "2026-20",
      "n": 7
    },
    {
      "week": "2026-23",
      "n": 2
    },
    {
      "week": "2026-27",
      "n": 1
    },
    {
      "week": "2026-28",
      "n": 1
    },
    {
      "week": "2026-33",
      "n": 4
    },
    {
      "week": "2026-35",
      "n": 5
    },
    {
      "week": "2026-37",
      "n": 11
    },
    {
      "week": "2026-38",
      "n": 6
    },
    {
      "week": "2026-39",
      "n": 1
    },
    {
      "week": "2026-40",
      "n": 8
    },
    {
      "week": "2026-43",
      "n": 1
    },
    {
      "week": "2026-46",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.2.0",
      "date": "2026-05-10"
    },
    {
      "name": "v1.4.0",
      "date": "2026-07-11"
    },
    {
      "name": "v1.6.0",
      "date": "2026-09-09"
    }
  ],
  "_topics": [
    "business-cycle",
    "data-analysis",
    "econometrics",
    "economics",
    "seasonal-adjustment",
    "time-series",
    "trend-analysis"
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "viniciusoike",
      "count": 229,
      "uuid": 10688700
    }
  ],
  "_userbio": {
    "uuid": 10688700,
    "type": "user",
    "name": "viniciusoike",
    "followers": 62,
    "description": "Lead Data Scientist at Insper Cidades | Economist (MSc @ USP) | Founder of EKIO | Data and R"
  },
  "_downloads": {
    "count": 390,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/trendseries"
  },
  "_devurl": "https://github.com/viniciusoike/trendseries",
  "_pkgdown": "https://viniciusoike.github.io/trendseries/",
  "_searchresults": 19,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/trendseries.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/viniciusoike/trendseries",
  "_realowner": "viniciusoike",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1.0",
      "date": "2025-11-12"
    },
    {
      "version": "1.2.0",
      "date": "2026-05-02"
    },
    {
      "version": "1.4.0",
      "date": "2026-07-14"
    },
    {
      "version": "1.7.0",
      "date": "2026-10-01"
    }
  ],
  "_exports": [
    "aggregate_series",
    "augment_rolling",
    "augment_trends",
    "decompose_series",
    "deseason_series",
    "detrend_series",
    "df_to_ts",
    "extract_trends",
    "index_series",
    "interpolate_series",
    "roll_series",
    "ts_to_df"
  ],
  "_datasets": [
    {
      "name": "coffee_arabica",
      "title": "Daily Arabica Coffee Price Indicator",
      "object": "coffee_arabica",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "spot_rs",
        "spot_us",
        "usd_2022",
        "trend_ma"
      ],
      "rows": 7128,
      "table": true,
      "tojson": true
    },
    {
      "name": "coffee_robusta",
      "title": "Daily Robusta Coffee Price Indicator",
      "object": "coffee_robusta",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "spot_rs",
        "spot_us",
        "usd_2022",
        "trend_ma"
      ],
      "rows": 5794,
      "table": true,
      "tojson": true
    },
    {
      "name": "electric",
      "title": "Residential Electricity Consumption",
      "object": "electric",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "consumption"
      ],
      "rows": 563,
      "table": true,
      "tojson": true
    },
    {
      "name": "electricity",
      "title": "Electricity Consumption by Sector",
      "object": "electricity",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "name_series",
        "value"
      ],
      "rows": 1689,
      "table": true,
      "tojson": true
    },
    {
      "name": "gdp_construction",
      "title": "Quarterly GDP — Building Industry",
      "object": "gdp_construction",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "index"
      ],
      "rows": 124,
      "table": true,
      "tojson": true
    },
    {
      "name": "ibcbr",
      "title": "Central Bank Economic Activity Index (IBC-Br)",
      "object": "ibcbr",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "index"
      ],
      "rows": 276,
      "table": true,
      "tojson": true
    },
    {
      "name": "metadata_series",
      "title": "Series Metadata",
      "object": "metadata_series",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "series_name",
        "date_col",
        "value_col",
        "group_cols",
        "date_min",
        "date_max",
        "description",
        "frequency",
        "source"
      ],
      "rows": 12,
      "table": false,
      "tojson": true
    },
    {
      "name": "oil_derivatives",
      "title": "Petroleum Derivatives Production",
      "object": "oil_derivatives",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "production"
      ],
      "rows": 563,
      "table": true,
      "tojson": true
    },
    {
      "name": "retail_autofuel",
      "title": "Great Britain Retail Sales Volume Index: Automotive Fuel",
      "object": "retail_autofuel",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "value",
        "name",
        "frequency",
        "source"
      ],
      "rows": 361,
      "table": true,
      "tojson": true
    },
    {
      "name": "retail_volume",
      "title": "Great Britain Retail Sales Volume Indices",
      "object": "retail_volume",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "name_series",
        "value"
      ],
      "rows": 4113,
      "table": true,
      "tojson": true
    },
    {
      "name": "transit_london_avgs",
      "title": "TfL Network Demand: Average Daily Journeys",
      "object": "transit_london_avgs",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date_month",
        "transit_mode",
        "is_business_day",
        "avg_daily_journeys"
      ],
      "rows": 336,
      "table": true,
      "tojson": true
    },
    {
      "name": "transit_london_monthly",
      "title": "TfL Network Demand: Monthly Bus and Tube Journeys",
      "object": "transit_london_monthly",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date_month",
        "transit_mode",
        "journey_monthly"
      ],
      "rows": 168,
      "table": true,
      "tojson": true
    },
    {
      "name": "vehicles",
      "title": "Total Vehicle Sales",
      "object": "vehicles",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "production"
      ],
      "rows": 539,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "aggregate_series",
      "title": "Aggregate series to a lower frequency",
      "topics": [
        "aggregate_series"
      ]
    },
    {
      "page": "augment_rolling",
      "title": "Add rolling aggregation columns to a data frame",
      "topics": [
        "augment_rolling"
      ]
    },
    {
      "page": "augment_trends",
      "title": "Add trend columns to data frame",
      "topics": [
        "augment_trends"
      ]
    },
    {
      "page": "coffee_arabica",
      "title": "Daily Arabica Coffee Price Indicator",
      "topics": [
        "coffee_arabica"
      ]
    },
    {
      "page": "coffee_robusta",
      "title": "Daily Robusta Coffee Price Indicator",
      "topics": [
        "coffee_robusta"
      ]
    },
    {
      "page": "converters",
      "title": "Data Format Conversion Utilities",
      "topics": [
        "converters"
      ]
    },
    {
      "page": "decompose_series",
      "title": "Decompose time series into trend, seasonal, and remainder components",
      "topics": [
        "decompose_series"
      ]
    },
    {
      "page": "deseason_series",
      "title": "Seasonally adjust (deseason) a time series",
      "topics": [
        "deseason_series"
      ]
    },
    {
      "page": "detrend_series",
      "title": "Detrend a time series",
      "topics": [
        "detrend_series"
      ]
    },
    {
      "page": "df_to_ts",
      "title": "Convert a data.frame into a time series (ts)",
      "topics": [
        "df_to_ts"
      ]
    },
    {
      "page": "electric",
      "title": "Residential Electricity Consumption",
      "topics": [
        "electric"
      ]
    },
    {
      "page": "electricity",
      "title": "Electricity Consumption by Sector",
      "topics": [
        "electricity"
      ]
    },
    {
      "page": "extract_trends",
      "title": "Extract trends from time series objects",
      "topics": [
        "extract_trends"
      ]
    },
    {
      "page": "gdp_construction",
      "title": "Quarterly GDP — Building Industry",
      "topics": [
        "gdp_construction"
      ]
    },
    {
      "page": "ibcbr",
      "title": "Central Bank Economic Activity Index (IBC-Br)",
      "topics": [
        "ibcbr"
      ]
    },
    {
      "page": "index_series",
      "title": "Index one or more series",
      "topics": [
        "index_series"
      ]
    },
    {
      "page": "interpolate_series",
      "title": "Complete and interpolate a time series",
      "topics": [
        "interpolate_series"
      ]
    },
    {
      "page": "metadata_series",
      "title": "Series Metadata",
      "topics": [
        "metadata_series"
      ]
    },
    {
      "page": "oil_derivatives",
      "title": "Petroleum Derivatives Production",
      "topics": [
        "oil_derivatives"
      ]
    },
    {
      "page": "retail_autofuel",
      "title": "Great Britain Retail Sales Volume Index: Automotive Fuel",
      "topics": [
        "retail_autofuel"
      ]
    },
    {
      "page": "retail_volume",
      "title": "Great Britain Retail Sales Volume Indices",
      "topics": [
        "retail_volume"
      ]
    },
    {
      "page": "roll_series",
      "title": "Rolling aggregations for time series objects",
      "topics": [
        "roll_series"
      ]
    },
    {
      "page": "transit_london_avgs",
      "title": "TfL Network Demand: Average Daily Journeys",
      "topics": [
        "transit_london_avgs"
      ]
    },
    {
      "page": "transit_london_monthly",
      "title": "TfL Network Demand: Monthly Bus and Tube Journeys",
      "topics": [
        "transit_london_monthly"
      ]
    },
    {
      "page": "ts_to_df",
      "title": "Convert time series to tibble",
      "topics": [
        "ts_to_df"
      ]
    },
    {
      "page": "vehicles",
      "title": "Total Vehicle Sales",
      "topics": [
        "vehicles"
      ]
    }
  ],
  "_pkglogo": "https://github.com/viniciusoike/trendseries/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/viniciusoike/trendseries/raw/HEAD/README.md",
  "_rundeps": [
    "anytime",
    "BH",
    "cli",
    "cpp11",
    "data.table",
    "dlm",
    "generics",
    "glue",
    "hpfilter",
    "lattice",
    "lifecycle",
    "lubridate",
    "magrittr",
    "Matrix",
    "mFilter",
    "pillar",
    "pkgconfig",
    "Rcpp",
    "RcppRoll",
    "rlang",
    "tibble",
    "timechange",
    "tsbox",
    "utf8",
    "vctrs"
  ],
  "_vignettes": [
    {
      "source": "trendseries.Rmd",
      "filename": "trendseries.html",
      "title": "Getting Started with trendseries",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is trendseries?",
        "Why trendseries?",
        "A simple example",
        "Indexing series",
        "Where to go next",
        "Acknowledgements",
        "Getting Help"
      ],
      "created": "2025-10-03 00:52:43",
      "modified": "2026-09-29 21:51:58",
      "commits": 17
    }
  ],
  "_score": 5.710117365111817,
  "_indexed": true,
  "_nocasepkg": "trendseries",
  "_universes": [
    "viniciusoike"
  ],
  "_previous": "1.7.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.8.0",
      "date": "2026-11-10T11:41:19.000Z",
      "distro": "resolute",
      "commit": "e4f42fab7bbb67670711a45f0c381bae69419aa2",
      "fileid": "https://r2.ropensci.org/01e7adeb6d230a706410d4f11f5ea0f5857160c2cbb464c8f67635aa9f0734ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/viniciusoike/actions/runs/42808636136"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.8.0",
      "date": "2026-11-10T11:41:08.000Z",
      "distro": "resolute",
      "commit": "e4f42fab7bbb67670711a45f0c381bae69419aa2",
      "fileid": "https://r2.ropensci.org/16da825e37120e24d40368a8a077532a08f08e067dc5fcea728e9b6e616b69aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/viniciusoike/actions/runs/42808636136"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.8.0",
      "date": "2026-11-10T12:35:08.000Z",
      "commit": "e4f42fab7bbb67670711a45f0c381bae69419aa2",
      "fileid": "https://r2.ropensci.org/c7637ccb69e1cfae60f0ec3a0a4b401e63e5e445d27b602352886f7e0f69e423",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/viniciusoike/actions/runs/42808636136"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.8.0",
      "date": "2026-11-10T12:25:33.000Z",
      "commit": "e4f42fab7bbb67670711a45f0c381bae69419aa2",
      "fileid": "https://r2.ropensci.org/7f26da5cde4e0fa04fb51d9672646f09555b3776a786b99170c57d335b9ef0e5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/viniciusoike/actions/runs/42808636136"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.8.0",
      "date": "2026-11-10T11:41:17.000Z",
      "commit": "e4f42fab7bbb67670711a45f0c381bae69419aa2",
      "fileid": "https://r2.ropensci.org/1beb1d208844a01e2b9600fd4e3c4ac96aeaab3d74214ee79edb91ba899830d6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/viniciusoike/actions/runs/42808636136"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.8.0",
      "date": "2026-11-10T11:40:28.000Z",
      "commit": "e4f42fab7bbb67670711a45f0c381bae69419aa2",
      "fileid": "https://r2.ropensci.org/0e3a53415c413ad2874ffd6dd586363f9036b00b23d34e7c9f6c2304e2d6e42c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/viniciusoike/actions/runs/42808636136"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.8.0",
      "date": "2026-11-10T11:40:17.000Z",
      "commit": "e4f42fab7bbb67670711a45f0c381bae69419aa2",
      "fileid": "https://r2.ropensci.org/0c89a012b305bfd1129eeba43f0983877116ecf119daf2080d7c8b09f84194b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/viniciusoike/actions/runs/42808636136"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.8.0",
      "date": "2026-11-10T11:40:23.000Z",
      "commit": "e4f42fab7bbb67670711a45f0c381bae69419aa2",
      "fileid": "https://r2.ropensci.org/caa47852459d1ba2590e4ce5394906cc94247a1e5d1f2a4897e87634bc0634bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/viniciusoike/actions/runs/42808636136"
    }
  ]
}