get_shinyrates_data: Get shiny rates data

Description Usage Arguments Value Examples

View source: R/get_shinyrates_data.R

Description

scrapes the data from shinyrates.com and formats it as a dataframe

Usage

1
get_shinyrates_data(page = "https://shinyrates.com/data/rate")

Arguments

page:

the page to pull the shinyrates JSON file from (default is https://shinyrates.com/data/rate)

Value

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

Examples

1

delabj/pogoshinyrates documentation built on July 16, 2020, 5:08 a.m.