Skip to content

tidyquant

1.0.12Package record

Tidy Quantitative Financial Analysis

1packages dependsuggested by 9
190Kdownloads / year
40.2%test coverage
13/13flavors OK

Overview

About

Bringing business and financial analysis to the 'tidyverse'. The 'tidyquant' package provides a convenient wrapper to various 'xts', 'zoo', 'quantmod', 'TTR' and 'PerformanceAnalytics' package functions and returns the objects in the tidy 'tibble' format. The main advantage is being able to use quantitative functions with the 'tidyverse' functions including 'purrr', 'dplyr', 'tidyr', 'ggplot2', 'lubridate', etc. See the 'tidyquant' website for more information, documentation and examples.

Changes in 1.0.12
  • Remove dependency to Quandl R package
  • Patched the FRED-dependent CRAN failure path so an unavailable economic.data endpoint no longer cascades into example/test errors.
  • Added explicit parameter docs for quandl_search() in R/api-quandl.R (line 38) and synced the generated Rd in man/quandl_search.Rd (line 9). The missing items were query, silent, per_page, and ..., which is what triggered the checking Rd \usage sections warning.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-22
Show 2 earlier changesHide 2 earlier changes
  • ERROR11 OK, 3 ERROR2026-03-12
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.12
READMEYes · 660 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.0.12Citation fileNoWebsiteYes · pkgdown
Help pages
28 (1 internal)includes a package overview page
Examples that run
83%20 run in a plain check (3 of them under a condition) · 4 never run
Exported functions with examples
92%
Documented parameters
95%
Return-value docs
64%
Help pages citing references
0%

Downloads

190K
CRAN downloads in the past year
Rank #985 · ~520/day · ~15.8K/mo
Daily download trend is not available in this view yet.
14.6K30 days
41K90 days
190K1 year
Compare downloads with other packages →
Also on621 r2u13 autocran3.6K conda_forge193 c2d4u

Repository

917Stars
185Forks
92Open issues
3Open PRs
4Releases
577Commits
12Commit identities
stock-pricesstock-symbolmultiple-stocksstock-exchangesfinancial-datatidyversestock-indexesstock-lists
577 commits · Last activity 2026-03-16 · +0.2% stars, 30d · Default branch at 1.0.12.9000, ahead of CRAN 1.0.12 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
79%
Median days to close, 50 most recently updated closed issues
27
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-09-23 · 8802026-10-02 · 917
PracticesBeta

12 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/business-science/tidyquant on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-01 · The repository has a site deploy workflow

pkgdown site last built 2026-10-01

Coverage (1)
Coverage reporting (Codecov)
Reproducibility and dev environment (1)
data-raw/
Show all practicesHide 2 practices
CRAN release process (3)
cran-comments.mdrevdep/CRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
36 external dependencies (excludes base and recommended)

Installing tidyquant adds 130 packages (72 with compiled code, 116 MB of source tarballs). Heaviest: BH 14 MB, stringi 11 MB, ggplot2 6.0 MB.

Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Suggested by 9
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (2)
Author, Maintainer since 0.1.0 (2016)
Author · added in 0.4.0
Releases (28)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.12Latest
    record
    2026-03-16 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.11
    record
    2025-02-13 · diff ↗
  • 1.0.10
    record
    2025-01-08 · diff ↗
  • 1.0.9
    record
    2024-09-02 · diff ↗ ·
    added 2 exports
    tq_fund_holdings, tq_fund_source_options
  • 1.0.8
    record
    2024-08-19 · diff ↗ ·
    added 1 export
    tidyquant_conflicts
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.7
    record
    2023-03-31 · diff ↗
  • 1.0.6
    record
    2022-11-16 · diff ↗
  • 1.0.5
    record
    2022-09-08 · diff ↗
  • 1.0.4
    record
    2022-05-20 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0.3
    record
    2021-03-05 · diff ↗
Show 23 earlier eventsHide 23 earlier events
  • 1.0.2
    record
    2020-10-21 · diff ↗
  • 1.0.1
    record
    2020-07-02 · diff ↗ ·
    removed 2 exports
    summarise_by_time, summarize_by_time
  • R
    R 4.0.0 released · 2020-04-24
  • 1.0.0
    record
    2020-03-04 · diff ↗ ·
    removed 1 export
    tq_get_stock_index_options
    added 115 exports
    ABS, AS_DATE, AS_DATETIME, AVERAGE, AVERAGE_IFS, CEILING_DATE, CEILING_DAY, CEILING_MONTH, CEILING_QUARTER, CEILING_WEEK, CEILING_YEAR, CHANGE, CHANGE_FIRSTLAST, COR, COUNT, COUNT_DAYS, COUNT_IFS, COUNT_UNIQUE, COV, CREATE_IFS, CUMULATIVE_MAX, CUMULATIVE_MEAN, CUMULATIVE_MEDIAN, CUMULATIVE_MIN, CUMULATIVE_PRODUCT, CUMULATIVE_SUM, DATE, DATEVALUE, DATE_SEQUENCE, DATE_TO_DECIMAL and 85 more
  • 0.5.10
    record
    2020-01-27 · diff ↗
  • 0.5.9
    record
    2019-12-15 · diff ↗
  • 0.5.8
    record
    2019-10-11 · diff ↗
  • 0.5.7
    record
    2019-09-21 · diff ↗ ·
    added 1 export
    %>%
  • R
    R 3.6.0 released · 2019-04-26
  • 0.5.6
    record
    2019-04-22 · diff ↗
  • 0.5.5
    record
    2018-05-09 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.5.4
    record
    2018-02-19 · diff ↗ ·
    removed 3 exports
    as_tibble, as_xts, as_xts_
    added 2 exports
    av_api_key, scale_colour_tq
  • 0.5.3
    record
    2017-08-04 · diff ↗
  • 0.5.2
    record
    2017-07-27 · diff ↗
  • 0.5.1
    record
    2017-04-24 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.5.0
    record
    2017-04-03 · diff ↗ ·
    added 2 exports
    quandl_api_key, quandl_search
  • 0.4.0
    record
    2017-03-03 · diff ↗ ·
    removed 3 exports
    tq_transform_, tq_transform_fun_options, tq_transform_xy_
    added 23 exports
    palette_dark, palette_green, palette_light, scale_color_tq, scale_fill_tq, theme_tq, theme_tq_dark, theme_tq_green, tq_exchange, tq_exchange_options, tq_index, tq_index_options, tq_performance, tq_performance_, tq_performance_fun_options, tq_portfolio, tq_portfolio_, tq_repeat_df, tq_transmute, tq_transmute_, tq_transmute_fun_options, tq_transmute_xy, tq_transmute_xy_
  • 0.3.0
    record
    2017-01-21 · diff ↗ ·
    added 8 exports
    coord_x_date, coord_x_datetime, geom_barchart, geom_bbands, geom_bbands_, geom_candlestick, geom_ma, geom_ma_
  • 0.2.0
    record
    2017-01-08 · diff ↗
  • 0.1.0
    record
    2016-12-31
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-12-31
Total releases
28 / 10 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Bundled data
88 KB / 1 file
Download size
4.4 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("tidyquant")
Dancho, M., & Vaughan, D. (2026). tidyquant: Tidy Quantitative Financial Analysis (Version 1.0.12) [Computer software]. https://doi.org/10.32614/CRAN.package.tidyquant

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 tidyquant version 1.0.12 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, 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