Skip to contents

Runs run_data_loaders(), joins the resulting environment into a single data frame via join_env(), and sorts the result by by.

Usage

build_all_series(reload = FALSE, by = "date", ...)

Arguments

reload

Logical; if TRUE, forces a full reload by temporarily setting options(fundsr.reload = TRUE).

by

Column name to join by and to sort by. Defaults to "date".

...

Additional arguments forwarded to join_env() (e.g. late =, coalesce_suffixed =, etc.).

Value

A tibble containing all joined series, sorted by by.

Details

This function is a convenience wrapper for the most common workflow.

Examples

if (FALSE) { # \dontrun{

s1 <- build_all_series()
download_fund_data(redownload = TRUE)
s2 <- build_all_series(by = "date", late = "ftaw", coalesce_suffixed = c(".y", ".x")) %>%
  filter(date >= as_date("2013-01-01"))
} # }