get_data {lotterybr} | R Documentation |
This function downloads the Brazilian lottery game data from Caixa Federal up to the date declared
get_data(
game = c("maismilionaria", "megasena", "lotofacil", "quina", "lotomania", "duplasena",
"diadesorte"),
type = c("numbers", "winners")
)
game |
select which Brazilian lottery game |
type |
select if you want the winners database or the numbers result |
tibble/data.frame containing the downloaded data
library(lotterybr)
megasena_ganhadores <- get_data(game= "megasena",type = "winners")
megasena_ganhadores
lotofacil_dezenas <- get_data(game= "lotofacil",type = "numbers")
lotofacil_dezenas