R · CRAN / R-universe

yfR

Downloads and Organizes Financial Data from Yahoo Finance

Monthly downloads

1,087

CRAN / R-universe downloads in the last 30 days.

All-time downloads

59,257

Cumulative downloads tracked from CRAN / R-universe.

GitHub stars

★ 51

7 forks.

CRAN submission

2022-06-30

Last push: 2026-03-06

Install

Quickstart

install.packages("yfR")

df_yf <- yfR::yf_get(
  tickers = c("PETR4.SA", "^BVSP"),
  first_date = "2020-01-01"
)

Companion & Counterpart Software

Cite this package

In R, run citation('yfR') for the official package citation, or use the BibTeX entry below:

@manual{perlin_yfr,
  author = {Perlin, Marcelo S.},
  title = {yfR: Downloads and Organizes Financial Data from Yahoo Finance},
  year = {2022},
  note = {R package},
  url = {https://ropensci.r-universe.dev/yfR}
}