-
Notifications
You must be signed in to change notification settings - Fork 0
gen_type_chart
This function generates a Pokémon type chart by scraping data from Bulbapedia. It creates two versions of the chart: a wide version and a long version. The wide version has defending types as columns and attacking types as rows. The long version is a reshaped version of the wide chart with three columns: attacking type, defending type, and effectiveness.
-
write
Logical value indicating whether to write the generated charts to files. Default is FALSE. -
root
Character string specifying the root directory where the files should be written. Default is "data/". -
file
Character string specifying the filename for the long version of the chart. Default is "PokemonTypeChart". -
fileWide
Character string specifying the filename for the wide version of the chart. Default is "PokemonTypeChartWide". -
return
A list containing two data frames: ''typeChart'' and ''typeChartWide''.
gen_type_chart(
write = FALSE,
root = "data/",
file = "PokemonTypeChart",
fileWide = "PokemonTypeChartWide"
)
If you have any questions, suggestions, or issues, please feel free to open an issue on our GitHub repository.
We welcome contributions from the community! If you're interested in contributing, please check out our contributing guidelines for more information.
While we strive to provide accurate and up-to-date information, please note that ZekDex is a community-driven project and we cannot guarantee the accuracy of the data at all times. We encourage users to verify the data when necessary and report any discrepancies found.
© 2024 ZekDex. This project is not affiliated with, endorsed by, or directly associated with Bulbagarden or the official Pokémon franchise.
- catchRate
- evYield
- family
- familyLong
- groups
- height
- languages
- mega
- nationalDex
- physicalAttr
- regionalDex
- stats
- statsWide
- typeChart
- typeChartWide
- types
- weight
catch
Damage
- damage_base
- damage_random
- pokemon_damage
- pokemon_damage_I
- pokemon_damage_II
- pokemon_damage_III
- pokemon_damage_IV
- pokemon_damage_V
EVYield
Family
gg
Group
Lang
Mega
Natational
Pokemon
Random
Regional
Stats
Type
- efect_fun
- effectiveness
- effectiveness_list
- effectivenessPokemon
- gen_type
- gen_type_chart
- stab
- stab_multiplyer
Util
- factor_type
- filter_non_unique
- read_data
- recursive_wrap
- regionalForm
- str_before_match
- str_longest_match
Weight