# yfR

Downloads and Organizes Financial Data from Yahoo Finance

- **Ecosystem:** R (CRAN / R-universe)
- **Page URL:** https://www.msperlin.com/code/r/yfr
- **GitHub:** https://github.com/ropensci/yfR
- **Package page:** https://ropensci.r-universe.dev/yfR
- **CRAN submission:** 2022-06-30
- **Monthly downloads:** 1,087
- **All-time downloads:** 59,257
- **GitHub stars:** 51
- **Last push:** 2026-03-06

## Installation

```r
install.packages('yfR')
```

## Quickstart

```r
install.packages("yfR")

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

## Citation

```bibtex
@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}
}
```
