get_types
get_types.Rd
Given a list of pokémon names, determine the types of those pokémon using an existing dataset.
Creates a list with pokemon types by matching the pokemon names to the names in a dataset and getting the corresponding type(s) of the pokemon. The pokemon names are cleaned before looking for a match.
Value
pokemon_types a list of strings of pokémon types corresponding to the pokémon names in the input list
Examples
get_types(list('Pikachu', 'Eevee', 'Charizard', ...))
#> Error in get_types(list("Pikachu", "Eevee", "Charizard", ...)): '...' used in an incorrect context