getSeqCounts: Retrieve sequence count data

View source: R/getSeqCounts.R

getSeqCountsR Documentation

Retrieve sequence count data

Description

Retrieves number of sequences by location, by date of sample collection. See getSubmissionDateByLocation to view similar information by date of sequence submission.

Usage

getSeqCounts(location = NULL, cumulative = NULL, subadmin = NULL)

Arguments

location

(optional) a location name (if not specified, global total counts returned)

cumulative

(optional) Boolean (T/F), T returns cumulative number of sequences to date

subadmin

(optional) Boolean (T/F), subadmin=T and cumulative=T returns cumulative number of sequences for next administrative level

Value

dataframe

Examples

# Retrieves the number of samples sequenced in the U.S. each day, by date of sample collection
getSeqCounts(location="United States")

# Returns the total number of global sequences in the outbreak.info API.
getSeqCounts(cumulative=TRUE)


outbreak-info/R-outbreak-info documentation built on March 2, 2023, 9:58 a.m.