These functions query IntChron to list the available databases ('hosts') or countries (optionally filtering by host).

intchron_hosts()

intchron_countries(hosts = NA)

Arguments

hosts

Vector of databases to query (for list of available countries). Leave NA to list countries from all hosts.

Value

A tibble of available hosts or countries.

See also

Other functions for querying IntChron: intchron()

Examples

# List available hosts
intchron_hosts()
#> # A tibble: 6 × 2
#>   host     database                            
#>   <chr>    <chr>                               
#> 1 egyptdb  Egyptian Radiocarbon Database       
#> 2 intimate INTIMATE Database                   
#> 3 nrcf     NERC Radiocarbon Facility (Oxford)  
#> 4 oxa      Oxford Radiocarbon Accelerator Unit 
#> 5 sadb     Southern Africa Radiocarbon Database
#> 6 intcal20 IntCal20 archive                    

# List available countries
intchron_countries()
#> # A tibble: 117 × 1
#>    country   
#>    <chr>     
#>  1 Albania   
#>  2 Algeria   
#>  3 Andorra   
#>  4 Angola    
#>  5 Antarctica
#>  6 Argentina 
#>  7 Armenia   
#>  8 Australia 
#>  9 Austria   
#> 10 Bahamas   
#> # ℹ 107 more rows

# List available countries for specific hosts
intchron_countries(c("intimate", "egyptdb"))
#> # A tibble: 13 × 2
#>    host     country                
#>    <chr>    <chr>                  
#>  1 intimate ""                     
#>  2 intimate "France"               
#>  3 intimate "Greenland"            
#>  4 intimate "Ireland"              
#>  5 intimate "Italy"                
#>  6 intimate "Norway"               
#>  7 intimate "Romania"              
#>  8 intimate "Slovenia"             
#>  9 intimate "Switzerland"          
#> 10 intimate "UK"                   
#> 11 egyptdb  "Egypt"                
#> 12 egyptdb  "Palestinian Territory"
#> 13 egyptdb  "Sudan"