Description Usage Arguments Value Examples
View source: R/get_shinyrates_data.R
Formats the data from shinyrates.com
1 |
df: |
a data frame to format |
timestamp: |
the specific timestamp to use |
A data.frame with the following columns:
date_recorded |
Date the data was pulled |
pokemon_ID |
National Pokédex Number |
pokemon_name |
Name of the Pokemon |
shiny_rate_frac |
Shiny rate as a fraction as pulled from shinyrates.com |
shiny_rate |
Decimal shiny rate calubluated from 'shiny_rate_frac' |
sample_size |
Number of that species of pokemon observed in the last 24 hours |
1 2 3 | date <- Sys.Date()
df <- scrape_shinyrates_website()
format_shinyrates_data(df=df, timestamp=date)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.