Learn R Programming

gofigR (version 1.1.3)

get_figure: Fetch a single figure by API ID.

Description

This is a low-level helper that retrieves the raw figure object from the GoFigr API. It is typically used after you already know the figure's `api_id`, for example from an analysis or figure listing.

Usage

get_figure(gf, api_id)

Value

A figure object as returned by the API (an environment), including metadata and revision information.

Arguments

gf

GoFigr client created by `gofigr_client()`.

api_id

Character string with the API ID of the figure to fetch.