Learn R Programming

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()

Copy Link

Version

Install

install.packages('lotterybr')

Monthly Downloads

6

Version

0.2.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Tomas Bernardes

Last Published

June 7th, 2024

Functions in lotterybr (0.2.0)

get_data

Function to download lottery data from git repository
open_app

Open Shiny app for data visualization