construct_query: create the url extension for an iCite API call

View source: R/api_methods.R

construct_queryR Documentation

create the url extension for an iCite API call

Description

construct_query constructs the url extension for an iCite API call

Usage

construct_query(
  query_type = "pmid",
  pmids = NA,
  year = NA,
  offset = NA,
  limit = NA
)

Arguments

query_type

character. The type of query being constructed. Limited to 'pmid' or 'search'. If 'pmid', then you must provide a vector of pmids.

pmids

character or numeric. A vector of pmids to be queried. If ‘query_type' is set to ’pmid', this is the only argument used. All others will be ignored.

year

character or numeric. The year to be searched.

offset

character. The lowest PMID to be returned.

limit

character. Maximum number of entries to return.


riddlet/iCiteR documentation built on Jan. 27, 2024, 10:31 a.m.