knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(lotterybr)
This will open the shiny app for better visualisation of the datasets
The function can be use in the following way
quina_ganhadores = get_data("quina","winners","ptbr") lotofacil_numbers = get_data("lotofacil","numbers","eng")
Each game has two datasets, numbers and winners, with the following columns:
Date type, the date that the game occurred in.
Integer type, which course the game took place
Char type, if the game prize is accumulated "yes" or not "no"
Factor type with 60 levels, the drawn numbers.
Date type, the date that the game occurred in.
Integer type, which course the game took place .
Char type, if the game prize is accumulated "yes" or not "no"
Char type, the possible match.
Integer type, the number of winners of each possible match.
Integer type, the prize for each type.
Some games, like "duplasena" or "diadesorte", may contain additional columns since each game has a different way of drawing numbers. Therefore, a brief explanation of each game is as follows.
Maismilionaria involves selecting five numbers from one pool and one additional number from another pool, with the potential to win multimillion-dollar jackpots.
Six numbers are drawn from a pool of 60, with players aiming to match as many as possible for substantial prizes.
Lotofacil involves picking 15 numbers from a pool of 25, with prizes awarded for varying levels of matches.
Players select five numbers from a pool of 80, aiming to match as many as possible for prizes.
Lotomania involves selecting 50 numbers from a pool of 100, with prizes awarded for matching a certain number of drawn numbers.
Dupla-Sena involves two separate draws, each with six numbers drawn from a pool of 50, offering double the chances to win.
In Dia de Sorte, players choose seven numbers and a month, with prizes awarded for matching numbers and/or the month drawn.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.