creature_text {dndR} | R Documentation |
Retrieve Full Creature Description Text by Creature Name
Description
Accepts user-provided Dungeons & Dragons creature name(s) and returns the full set of creature information and the complete description text. Unlike 'dndR::creature_list', this function requires an exact match between the user-provided creature name(s) and how they appear in the main creature data object. The argument in this function is not case-sensitive.
Usage
creature_text(name = NULL)
Arguments
name |
(character) exact creature name(s) for which to gather description information |
Value
(dataframe) one column per creature specified by the user. Creature name is stored as the column name for that creature's information. Returns all fields for which there are data for at least one of the specified creatures so row number will vary with query (maximum 26 rows if all fields have information).
Examples
creature_text(name = c("hill giant", "goblin"))
[Package dndR version 2.0.0 Index]