visualize_fred_time_series | R Documentation |
Plot any FRED time series
visualize_fred_time_series(
series_id = "DGS2",
use_random = FALSE,
fred_data_transformation = NULL,
date_start = NULL,
date_end = NULL,
plot_transformations = c("mean", "median", "smooth"),
use_hrbr_theme = FALSE,
plot_labels = FALSE,
interactive = FALSE
)
series_id |
any FRED series ID |
use_random |
if |
date_start |
data start date, if |
date_end |
data end date |
plot_transformations |
Any plot transformations you wish to apply
|
use_hrbr_theme |
uses Bob Rudis theme |
plot_labels |
if |
interactive |
if |
fred_data_transformations |
Any FRED transformation
|
if interactive
a plotly htmlwidget or else a static ggplot2 visualization
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.