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: 9 × 2
#>   host       database                            
#>   <chr>      <chr>                               
#> 1 egyptdb    Egyptian Radiocarbon Database       
#> 2 intcal20   IntCal20 archive                    
#> 3 intcal20_b IntCal20_B (post 1950) archive      
#> 4 intimate   INTIMATE Database                   
#> 5 mrdb       Marine Radiocarbon Database archive 
#> 6 nrcf       NERC Radiocarbon Facility (Oxford)  
#> 7 oxa        Oxford Radiocarbon Accelerator Unit 
#> 8 reset      RESET Tephra Database               
#> 9 sadb       Southern Africa Radiocarbon Database

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

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