intchron: Query IntChron

View source: R/intchron.R

intchronR Documentation

Query IntChron

Description

IntChron is an indexing service for chronological data from multiple sources. This function gets records from databases ('hosts') indexed by IntChron, optionally filtering by country and/or site.

Usage

intchron(hosts, countries = NA, sites = NA, tabulate = TRUE)

Arguments

hosts

Vector of databases to be retrieved, or "all".

countries

(Optional) Vector of countries to be retrieved.

sites

(Optional) Vector of sites to be retrieved.

tabulate

If TRUE (the default), the data retrieved will be combined into a data frame. Set FALSE to get the raw data from IntChron.

Details

At least hosts must be specified. Use intchron_hosts() to get a list of currently available hosts, or "all" to retrieve data from any database.

See vignette("rintchron") for further details.

Value

A tibble, or if tabulate = FALSE, a list, of IntChron responses.

See Also

Other functions for querying IntChron: intchron_hosts()

Examples

# Get data from Jordan from the ORAU and NERC databases
intchron(c("oxa", "nrcf"), countries = "Jordan")

joeroe/rintchron documentation built on July 30, 2023, 11:18 p.m.