Skip to contents

Get doc ID reads

Usage

get_docid_reads(scope, identifier, as = "data.frame", env = "production")

Arguments

scope

(character) Scope of data package

identifier

(numeric) Identifier of data package

as

(character) Format of the returned object. Can be: "data.frame" or "xml".

env

(character) Repository environment. Can be: "production", "staging", or "development".

Value

(data.frame or xml_document) Summary of all the successful reads (total reads and non-robot reads) for all the resources of a given scope and identifier.

See also

Examples

if (FALSE) { # \dontrun{

# Get all reads
resourceReads <- get_docid_reads(scope = "knb-lter-sgs", identifier = 817)
} # }