Tidy Quantitative Financial Analysis
Overview
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.
- 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
- 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
Documentation
- 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
Repository
- 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
Forks over time
Releases over time
Issues over time
PRs over time
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.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-01 · The repository has a site deploy workflow
pkgdown site last built 2026-10-01
Show all practicesHide 2 practices
Dependencies
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.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.0.12Latest
- RR 4.5.0 released · 2025-04-11
- 1.0.112025-02-13 · diff ↗
- 1.0.102025-01-08 · diff ↗
- 1.0.9
- 1.0.8
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.0.72023-03-31 · diff ↗
- 1.0.62022-11-16 · diff ↗
- 1.0.52022-09-08 · diff ↗
- 1.0.42022-05-20 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.0.32021-03-05 · diff ↗
Show 23 earlier eventsHide 23 earlier events
- 1.0.22020-10-21 · diff ↗
- 1.0.1
- RR 4.0.0 released · 2020-04-24
- 1.0.02020-03-04 · diff ↗ ·
removed 1 export
tq_get_stock_index_optionsadded 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.102020-01-27 · diff ↗
- 0.5.92019-12-15 · diff ↗
- 0.5.82019-10-11 · diff ↗
- 0.5.7
- RR 3.6.0 released · 2019-04-26
- 0.5.62019-04-22 · diff ↗
- 0.5.52018-05-09 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 0.5.42018-02-19 · diff ↗ ·
removed 3 exports
as_tibble, as_xts, as_xts_added 2 exports
av_api_key, scale_colour_tq - 0.5.32017-08-04 · diff ↗
- 0.5.22017-07-27 · diff ↗
- 0.5.12017-04-24 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 0.5.0
- 0.4.02017-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.02017-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.02017-01-08 · diff ↗
- 0.1.02016-12-31
- RR 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
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("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.
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.