Skip to content

imputeTS

3.4Package record

Time Series Missing Value Imputation

18packages dependsuggested by 8
222.8Kdownloads / year
92.8%test coverage
8/13flavors OK

Overview

About

Imputation (replacement) of missing values in univariate time series. Offers several imputation functions and missing data plots. Available imputation algorithms include: 'Mean', 'LOCF', 'Interpolation', 'Moving Average', 'Seasonal Decomposition', 'Kalman Smoothing on Structural Time Series models', 'Kalman Smoothing on ARIMA models'. Published in Moritz and Bartz-Beielstein (2017) doi:10.32614/RJ-2017-009.

Changes in 3.4
  • Added ggplot_na_gapsize2 plot (and unit tests). Nice way to illustrate how different NA gapsizes (consecutive NAs in a row) amount for NA totals.
  • Fix of the CITATION file to comply with newer CRAN rules
  • Update of ggplot_na_imputations() to avoid using now depreciated ggplot2 options
  • Update of unit tests for all plotting functions (ggplot_na_...). Now using is_ggplot() to check for correct output. This was necessary because of a major ggplot2 update (switch to s7 classes).

From NEWS.md in the release

Install

Health

CRAN checks
5NOTE8OK
Check messages
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names:
  imputeTS/tests/testthat/test-ggplot_na_distribution.R (.Tsp: 1)
  imputeTS/tests/testthat/test-ggplot_na_distribution2.R (.Tsp: 1)
  imputeTS/tests/testthat/test-ggplot_na_gapsize.R (.Tsp: 1)
  imputeTS/tests/testthat/test-ggplot_na_gapsize2.R (.Tsp: 1)
  imputeTS/tests/testthat/test-ggplot_na_imputations.R (.Tsp: 1)
  imputeTS/inst/doc/gallery_visualizations.R (.Tsp: 1)
'.Tsp' should be changed to 'tsp'.

CRAN check page ↗

Slowest check: 5.5 min · r-devel-windows-x86_64
Status changes
  • NOTE8 OK, 5 NOTENow
  • NOTE11 OK, 2 NOTE2026-07-16
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 3.4
READMEYes · 866 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 3.4Citation fileYes · cites a publicationWebsiteYes · pkgdown
Cites an R Journal article
Help pages
39 (17 internal)includes a package overview page
Examples that run
100%16 run in a plain check
Exported functions with examples
50%
Documented parameters
83%
Return-value docs
42%
Help pages citing references
10%

Downloads

222.8K
CRAN downloads in the past year
Rank #792 · ~610/day · ~18.6K/mo
Daily download trend is not available in this view yet.
20.5K30 days
58.5K90 days
222.8K1 year
Compare downloads with other packages →
Also on9.5K r2u7 autocran749 conda_forge219 c2d4u

Repository

175Stars
25Forks
9Open issues
0Open PRs
0Releases
304Commits
10Commit identities
missing-dataimputationdata-visualizationimputation-algorithmimputetscrantime-series
License file reads as GPL-3.0 · 304 commits · Last activity 2025-08-24 · +0.6% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
79
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2026-07-14 · 1742026-10-19 · 175
PracticesBeta

7 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/steffenmoritz/imputets on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows

Docs source (3)
pkgdown

GitHub Pages site last deployed 2025-08-24 · The repository has a site deploy workflow

pkgdown site last built 2025-08-24, before release 3.4 (2025-08-25)

Coverage (1)
Coverage reporting (Codecov)
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)

Installing imputeTS adds 41 packages (24 with compiled code, 35 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, colorspace 2.0 MB.

Depends (1)
R >= 3.6
Imports (9)
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
18direct
0indirect
Imports 18
Suggested by 8
Show all 26 packagesHide all 26 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (4)
Author, Maintainer since 0.1 (2015), Copyright holder
Author · added in 3.0
Contributor · added in 3.3
Contributor · added in 3.1
Releases (21)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 3.4Latest
    record
    2025-08-25 · current release · diff ↗ ·
    added 1 export
    ggplot_na_gapsize2
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 3.3
    record
    2022-09-09 · diff ↗ ·
    added 1 export
    ggplot_na_distribution2
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 3.2
    record
    2021-01-16 · diff ↗
  • 3.1
    record
    2020-08-04 · diff ↗ ·
    added 4 exports
    ggplot_na_distribution, ggplot_na_gapsize, ggplot_na_imputations, ggplot_na_intervals
  • R
    R 4.0.0 released · 2020-04-24
  • 3.0
    record
    2019-07-01 · diff ↗ ·
    added 10 exports
    na_interpolation, na_kalman, na_locf, na_ma, na_mean, na_random, na_remove, na_replace, na_seadec, na_seasplit
  • R
    R 3.6.0 released · 2019-04-26
  • 2.7
    record
    2018-06-20 · diff ↗ ·
    added 1 export
    %>%
  • R
    R 3.5.0 released · 2018-04-23
  • 2.6
    record
    2018-03-20 · diff ↗
Show 17 earlier eventsHide 17 earlier events
  • 2.5
    record
    2017-06-13 · diff ↗
  • 2.4
    record
    2017-06-05 · diff ↗
  • 2.3
    record
    2017-05-21 · diff ↗
  • 2.2
    record
    2017-04-23 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 2.1
    record
    2017-04-18 · diff ↗
  • 2.0
    record
    2017-04-08 · diff ↗
  • 1.9
    record
    2017-03-09 · diff ↗
  • 1.8
    record
    2017-01-25 · diff ↗
  • 1.7
    record
    2016-10-13 · diff ↗
  • 1.6
    record
    2016-06-03 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 1.5
    record
    2016-04-28 · diff ↗ ·
    removed 3 exports
    vis.barMissing, vis.imputations, vis.missing
    added 7 exports
    na.kalman, na.ma, plotNA.distribution, plotNA.distributionBar, plotNA.gapsize, plotNA.imputations, statsNA
  • 0.4
    record
    2015-12-04 · diff ↗ ·
    removed 1 export
    vis.differences
    added 3 exports
    vis.barMissing, vis.imputations, vis.missing
  • 0.3
    record
    2015-11-05 · diff ↗ ·
    added 3 exports
    na.seadec, na.seasplit, vis.differences
  • 0.1
    record
    2015-07-22
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2015-07-22
Total releases
21 / 11 yrs
License
GPL-3 OSI
Minimum R
≥ 3.6
Bundled data
574 KB / 6 files
Download size
2.1 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("imputeTS")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for imputeTS version 3.4 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy