knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)
library(dplyr)
library(knitr)

Pokemongor

Useful Datasets for Pokemon Researchers.

data(package="pokemongor")$results %>% .[, c("Item", "Title")] %>% kable

Installation

# install.packages("devtools")
devtools::install_github("ChihChengLiang/pokemongor")

Usage

library(pokemongor)
show <- function(dataset) knitr::kable(head(dataset))
show(pokemon_names)
show(pokemons)
show(evolutions75)

pokemon_subjects %>%
  left_join(pokemon_names, by = c("pokemon_id"="index")) %>%
  count(name, sort=T)


ChihChengLiang/pokemongor documentation built on May 6, 2019, 10:54 a.m.