query_objects: Return key information on all objects on the Arctic Data...

View source: R/query_objects.R

query_objectsR Documentation

Return key information on all objects on the Arctic Data Center

Description

This function returns the identifier, origin, formatType, size, dateUploaded, and obsoletedBy fields for every object on the Arctic Data Center as a data.frame. This can then be used to extract various metrics and plots.

Usage

query_objects(n = 10000000, cache_tolerance = 14)

Arguments

n

(integer) Number of rows to return

cache_tolerance

(integer) Maximum number of days tolerable for age of cached results. If the cached results are older than the cache tolerance, a new dataset will be cached and the old cache deleted. To force a cache refresh, set tolerance to zero.

Value

(data.frame) Result of the SOLR query


NCEAS/arcticreport documentation built on July 26, 2024, 11:16 p.m.