get_record_count {ArctosR}R Documentation

Count number of records in a query

Description

Request from Arctos the total number of records that match a specific query. A list of possible query keys can be obtained from the output of get_query_parameters.

Usage

get_record_count(..., api_key = NULL)

Arguments

...

Query parameters and their values to pass to Arctos to search. For example, 'scientific_name = "Canis lupus"“

api_key

(character) The API key to use for this request. The default, NULL, uses the package's default API key.

Value

The number of records matching the given query, as an integer.

Examples

library(ArctosR)

count <- get_record_count(
  scientific_name = "Canis lupus", guid_prefix = "MSB:Mamm"
)


[Package ArctosR version 0.1.1 Index]