Public sources ask callers to identify themselves. A caller identity plus a contact route let a source operator reach you before they rate-limit you.
Usage
user_agent(
identity = Sys.getenv("BIOHTTP_CALLER_IDENTITY", "biohttp"),
version = as.character(getNamespaceVersion("biohttp")),
url = Sys.getenv("BIOHTTP_CONTACT_URL", ""),
email = Sys.getenv("BIOHTTP_CONTACT_EMAIL", "")
)Arguments
- identity
The calling application's name. Defaults to
BIOHTTP_CALLER_IDENTITY, then to"biohttp".- version
The calling application's version.
- url
A URL an operator can look up, usually the app's repository. Defaults to
BIOHTTP_CONTACT_URL.A contact address. Defaults to
BIOHTTP_CONTACT_EMAIL. Left out of the string entirely when blank, rather than printed empty.