Searches the analyses within a workspace by name and, optionally, creates a new analysis when no match is found.
find_analysis(gf, name, description = NULL, workspace = NULL, create = FALSE)An analysis object corresponding to the matching (or newly created) analysis.
GoFigr client.
Name of the analysis to find.
Optional description to assign if a new analysis is created.
Parent workspace (object or API ID). If `NULL`, the client's default workspace is used.
Logical; if `TRUE` and the analysis does not exist, a new one is created. If `FALSE`, an error is thrown when no matching analysis is found.