get_request_url: Get the first URL in a completed query

View source: R/frontend.R

get_request_urlR Documentation

Get the first URL in a completed query

Description

Returns the first URL used by a completed query which can be shared. The API key is automatically stripped from the URL for security.

Usage

get_request_url(query)

Arguments

query

A completed query returned from get_records

Value

A URL as a string

Examples

library(ArctosR)

if (interactive()) {
  q <- get_records(guid_prefix="MSB:Mamm")
  url <- get_request_url(q)
}


ArctosR documentation built on Nov. 7, 2025, 5:13 p.m.