get_variable: Get a Variable's Information

View source: R/get_variables.R

get_variableR Documentation

Get a Variable's Information

Description

Get a Variable's Information

Usage

get_variable(id, list_column = FALSE, ...)

Arguments

id

The variable id.

list_column

If TRUE (default) a list-column values is created. If FALSE, esiting rows will be duplicated and merged with the values object, yielding a flat tbl without nesting.

...

Optional arguments passed to the API.

Value

A tibble with the same number of rows as the variable has values if list_column is FALSE, otherwise a single-row tbl with a list-column.

Source

https://github.com/speedruncomorg/api/blob/master/version1/variables.md

Examples

## Not run: 
# Get Super Mario 64 variable for platform
get_variable(id = "e8m7em86")

## End(Not run)

jemus42/speedrunr documentation built on March 19, 2024, 2:35 p.m.