Description
Lottery Datasets from Caixa Economica Federal.
Description
A collection of functions designed to streamline the retrieval of data from Brazilian lottery games operated by Caixa Econômica Federal, accessible through the official website at <https://loterias.caixa.gov.br/Paginas/default.aspx/>. Datasets for each game are conveniently stored on the GitHub page at <https://github.com/tomasbp2/LotteryBrasilDATA/>. Each game within this repository consists of two primary datasets: the winners dataset and the numbers dataset. The winners dataset includes crucial information such as the draw date, game type, potential matches, winners for each match, and corresponding prize amounts. Meanwhile, the numbers dataset provides essential details including the draw date, game type, and the numbers drawn during the respective lottery event. By offering easy access to these datasets, the package facilitates efficient data retrieval and analysis for researchers, analysts, and enthusiasts interested in exploring the dynamics and outcomes of Brazilian lottery games.
README.md
lotterybr
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.