data-raw/pokemon.R

## code to prepare `pokemon` dataset goes here
pacman::p_load("tidyverse")
pokemon<-read_csv("inst/extdata/pokemon.csv")
colnames(pokemon)[9]<-"Special Defense"
colnames(pokemon)[10]<-"Special Attack"
#pokemon$Total_Def<-pokemon$Defense+pokemon$`Sp. Def`

## Save the dataset

usethis::use_data(pokemon, overwrite=TRUE)
deponent-verb/popgen.stats documentation built on Nov. 4, 2019, 10:26 a.m.