Combines a series of vectors describing the location of an IntChron resource or resources into a properly encoded URL.

intchron_url(..., intchron_root = "https://intchron.org")

Arguments

...

Character vectors describing the path to the resource or resources.

intchron_root

Root address of IntChron.

Value

Character vector of URLs.

See also

Other functions for interacting with the IntChron API: intchron_crawl(), intchron_extract(), intchron_request(), intchron_tabulate()

Examples

# One resource
intchron_url("record", "oxa", "Jordan", "Dhuweila")
#> [1] "https://intchron.org/record/oxa/Jordan/Dhuweila"

# Multiple resources
intchron_url("record", c("oxa", "nrcf"), "Jordan", "Kharaneh IV")
#> [1] "https://intchron.org/record/oxa/Jordan/Kharaneh IV" 
#> [2] "https://intchron.org/record/nrcf/Jordan/Kharaneh IV"