lotterybr

R-CMD-check

The goal of the package is to provide a function to automatically import data from the lotteries of Caixa Econômica Federal into the R environment. Data from the lotteries of Caixa Econômica Federal includes information on various games such as Mega-Sena, Lotofácil, Quina, among others. They are downloaded from the official website of the Federal Savings Bank at https://loterias.caixa.gov.br/.

Installation

You can install the development version of lotterybr like so:

# install.packages("devtools")
# devtools::install_github("tomasbp2/lotterybr")

Example

Downloading Lotofacil winners data:


library(lotterybr)

lotofacil <- get_data(game= "lotofacil", type= "winners")

Opening the shiny app


library(lotterybr)
open_app()
Shiny applications not supported in static R Markdown documents