diff --git a/tests/testthat/test-search_all.R b/tests/testthat/test-search_all.R
index 55bc0d2f..71a917c8 100644
--- a/tests/testthat/test-search_all.R
+++ b/tests/testthat/test-search_all.R
@@ -3,12 +3,12 @@
# (these are probably not built for many fast queries if output is large)
test_that("search_all checks inputs, returns helpful error", {
- skip_if_offline(); skip_on_ci()
+ skip_on_cran(); skip_if_offline(); skip_on_ci()
expect_error(search_all(attributes, ""), "Unrecognised metadata requested")
})
test_that("search_all returns correct output for type", {
- skip_if_offline(); skip_on_ci()
+ skip_on_cran(); skip_if_offline(); skip_on_ci()
fields <- search_all(fields, "year")
reasons <- search_all(reasons, "genus")
profiles <- search_all(profiles, "ala")
@@ -28,13 +28,13 @@ test_that("search_all returns correct output for type", {
})
test_that("search_all returns error when missing query", {
- skip_if_offline(); skip_on_ci()
+ skip_on_cran(); skip_if_offline(); skip_on_ci()
expect_error(search_all(profiles), "We didn't detect a search query")
expect_error(search_all(fields, blah))
})
test_that("search_assertions returns a filtered result", {
- skip_if_offline(); skip_on_ci()
+ skip_on_cran(); skip_if_offline(); skip_on_ci()
all <- show_all_assertions()
search <- search_assertions("INVALID")
search2 <- search_all(assertions, "INVALID")
@@ -50,7 +50,7 @@ test_that("search_assertions returns a filtered result", {
})
test_that("search_apis returns a filtered result", {
- skip_if_offline(); skip_on_ci()
+ skip_on_cran(); skip_if_offline(); skip_on_ci()
all <- show_all_apis()
search <- search_apis("image")
search2 <- search_all(apis, "image")
@@ -65,7 +65,7 @@ test_that("search_apis returns a filtered result", {
})
test_that("search_atlases returns a filtered result", {
- skip_if_offline(); skip_on_ci()
+ skip_on_cran(); skip_if_offline(); skip_on_ci()
all <- show_all_atlases()
search <- search_atlases("guat")
search2 <- search_all(atlases, "guat")
@@ -80,7 +80,7 @@ test_that("search_atlases returns a filtered result", {
})
test_that("search_collections returns a filtered result", {
- skip_if_offline(); skip_on_ci()
+ skip_on_cran(); skip_if_offline(); skip_on_ci()
all <- show_all_collections()
search <- search_collections("dna")
search2 <- search_all(collections, "dna")
@@ -95,7 +95,7 @@ test_that("search_collections returns a filtered result", {
})
test_that("search_datasets returns a filtered result", {
- skip_if_offline(); skip_on_ci()
+ skip_on_cran(); skip_if_offline(); skip_on_ci()
all <- show_all_datasets()
search <- search_datasets("endangered")
search2 <- search_all(datasets, "endangered")
@@ -110,7 +110,7 @@ test_that("search_datasets returns a filtered result", {
})
test_that("search_fields returns a filtered result", {
- skip_if_offline(); skip_on_ci()
+ skip_on_cran(); skip_if_offline(); skip_on_ci()
all <- show_all_fields()
search <- search_fields("precipitation")
search2 <- search_all(fields, "precipitation")
@@ -125,12 +125,12 @@ test_that("search_fields returns a filtered result", {
})
test_that("search_fields helpful warning with blank argument", {
- skip_if_offline(); skip_on_ci()
+ skip_on_cran(); skip_if_offline(); skip_on_ci()
expect_error(search_fields(), "We didn't detect a search query.")
})
test_that("search_licenses returns a filtered result", {
- skip_if_offline(); skip_on_ci()
+ skip_on_cran(); skip_if_offline(); skip_on_ci()
all <- show_all_licences()
search <- search_licences("3.0")
search2 <- search_all(licences, "3.0")
@@ -145,7 +145,7 @@ test_that("search_licenses returns a filtered result", {
})
test_that("search_lists returns a filtered result", {
- skip_if_offline(); skip_on_ci()
+ skip_on_cran(); skip_if_offline(); skip_on_ci()
all <- show_all_lists()
search <- search_lists("threatened")
search2 <- search_all(lists, "threatened")
@@ -160,7 +160,7 @@ test_that("search_lists returns a filtered result", {
})
test_that("search_reasons returns a filtered result", {
- skip_if_offline(); skip_on_ci()
+ skip_on_cran(); skip_if_offline(); skip_on_ci()
all <- show_all_reasons()
search <- search_reasons("sci")
search2 <- search_all(reasons, "sci")
@@ -175,7 +175,7 @@ test_that("search_reasons returns a filtered result", {
})
test_that("search_ranks returns a filtered result", {
- skip_if_offline(); skip_on_ci()
+ skip_on_cran(); skip_if_offline(); skip_on_ci()
all <- show_all_ranks()
search <- search_ranks("kingdom")
search2 <- search_all(ranks, "kingdom")
@@ -190,7 +190,7 @@ test_that("search_ranks returns a filtered result", {
})
test_that("search_profiles returns a filtered result", {
- skip_if_offline(); skip_on_ci()
+ skip_on_cran(); skip_on_cran(); skip_if_offline(); skip_on_ci()
all <- show_all_profiles()
search <- search_profiles("base")
search2 <- search_all(profiles, "base")
@@ -205,7 +205,7 @@ test_that("search_profiles returns a filtered result", {
})
test_that("search_providers returns a filtered result", {
- skip_if_offline(); skip_on_ci()
+ skip_on_cran(); skip_if_offline(); skip_on_ci()
all <- show_all_providers()
search <- search_providers("inaturalist")
search2 <- search_all(providers, "inaturalist")
diff --git a/vignettes/choosing_an_atlas.Rmd b/vignettes/choosing_an_atlas.Rmd
index 13219064..2c9f1bf1 100644
--- a/vignettes/choosing_an_atlas.Rmd
+++ b/vignettes/choosing_an_atlas.Rmd
@@ -1,7 +1,7 @@
---
title: "Choosing an atlas"
author: "Martin Westgate, Dax Kellie"
-date: '2023-11-07'
+date: '2023-12-14'
output:
rmarkdown::html_vignette
vignette: >
@@ -21,7 +21,10 @@ own APIs, often built from the 'living atlas' codebase developed by the ALA.
At present, `galah` supports the following functions and atlases:
+
## Set Organisation
@@ -51,8 +54,7 @@ galah_config(atlas = "Guatemala")
```
```
-## Atlas selected: Sistema Nacional de Información sobre Diversidad Biológica de Guatemala
-## (SNIBgt) [Guatemala]
+## Atlas selected: Sistema Nacional de Información sobre Diversidad Biológica de Guatemala (SNIBgt) [Guatemala]
```
```r
@@ -61,18 +63,18 @@ show_all(datasets)
```
## # A tibble: 1,283 × 3
-## id name uri
-##
-## 1 dr1440 A catalogue of the Heteroptera (Hemiptera) or true bugs of Argentina http…
-## 2 dr1436 A cybercatalogue of American sand fly types (Diptera, Psychodidae, Phleboto… http…
-## 3 dr1226 A distinctive new species of biting midge in the subgenus Euprojoannisia Br… http…
-## 4 dr321 A Distribution and Taxonomic Reference Dataset of Geranium (Geraniaceae) in… http…
-## 5 dr1285 A geographic distribution database of the cassava whitefly complex (Hemipte… http…
-## 6 dr12 A global database for the distributions of crop wild relatives http…
-## 7 dr467 A matrix-based revision of the genus Hypogena Dejean, 1834 (Coleoptera Tene… http…
-## 8 dr1061 A Monographic Revision of the Genus Hoplopyga Thomson, 1880 (Coleoptera: Sc… http…
-## 9 dr1570 A new Anomiopus Westwood (Coleoptera: Scarabaeidae: Scarabaeinae) from the … http…
-## 10 dr1177 A new Central American genus of pleasing fungus beetles (Coleoptera: Erotyl… http…
+## id name uri
+##
+## 1 dr1440 A catalogue of the Heteroptera (Hemiptera) or true bugs of Argentina http…
+## 2 dr1436 A cybercatalogue of American sand fly types (Diptera, Psychodidae, Phlebotominae) deposited at the Natural History Muse… http…
+## 3 dr1226 A distinctive new species of biting midge in the subgenus Euprojoannisia Brèthes from Mexico with new records of Neotro… http…
+## 4 dr321 A Distribution and Taxonomic Reference Dataset of Geranium (Geraniaceae) in the New World http…
+## 5 dr1285 A geographic distribution database of the cassava whitefly complex (Hemiptera, Aleyrodidae) and their associated parasi… http…
+## 6 dr12 A global database for the distributions of crop wild relatives http…
+## 7 dr467 A matrix-based revision of the genus Hypogena Dejean, 1834 (Coleoptera Tenebrionidae) http…
+## 8 dr1061 A Monographic Revision of the Genus Hoplopyga Thomson, 1880 (Coleoptera: Scarabaeidae: Cetoniinae: Gymnetini) http…
+## 9 dr1570 A new Anomiopus Westwood (Coleoptera: Scarabaeidae: Scarabaeinae) from the Mayan Biosphere Reserve, Petén, Guatemala http…
+## 10 dr1177 A new Central American genus of pleasing fungus beetles (Coleoptera: Erotylidae) from the Ischyrus-Megischyrus complex http…
## # ℹ 1,273 more rows
```
@@ -81,7 +83,7 @@ show_all(fields)
```
```
-## # A tibble: 128 × 3
+## # A tibble: 127 × 3
## id description type
##
## 1 all_image_url fields
@@ -94,7 +96,7 @@ show_all(fields)
## 8 catalogue_number Catalogue Number fields
## 9 cl10011 fields
## 10 class Class fields
-## # ℹ 118 more rows
+## # ℹ 117 more rows
```
```r
@@ -149,11 +151,9 @@ search_taxa("vulpes") # Returns data
```
## # A tibble: 1 × 12
-## search_term scientific_name scientific_name_author…¹ taxon_concept_id rank kingdom phylum
-##
-## 1 vulpes Vulpes Frisch, 1775 NBNSYS0000138878 genus Animal… Chord…
-## # ℹ abbreviated name: ¹scientific_name_authorship
-## # ℹ 5 more variables: class , order , family , genus , superclass
+## search_term scientific_name scientific_name_authorship taxon_concept_id rank kingdom phylum class order family genus superclass
+##
+## 1 vulpes Vulpes Frisch, 1775 NBNSYS0000138878 genus Animalia Chordata Mammalia Carn… Canid… Vulp… Tetrapoda
```
```r
@@ -167,7 +167,7 @@ galah_call() |>
## # A tibble: 1 × 1
## count
##
-## 1 123736
+## 1 124167
```
Download species occurrence records from other atlases with
@@ -179,8 +179,7 @@ galah_config(atlas = "Guatemala")
```
```
-## Atlas selected: Sistema Nacional de Información sobre Diversidad Biológica de Guatemala
-## (SNIBgt) [Guatemala]
+## Atlas selected: Sistema Nacional de Información sobre Diversidad Biológica de Guatemala (SNIBgt) [Guatemala]
```
```r
@@ -193,12 +192,12 @@ galah_call() |>
```
## # A tibble: 4 × 2
-## scientificName year
+## taxon_name year
##
## 1 Erinnyis ello subsp. ello 1973
-## 2 Aellopos titan Burmeister, 1856 1971
+## 2 Manduca rustica Fabricius, 1775 1930
## 3 Manduca rustica Fabricius, 1775 1930
-## 4 Manduca rustica Fabricius, 1775 1930
+## 4 Aellopos titan Burmeister, 1856 1971
```
@@ -232,14 +231,26 @@ atlases |>
fmt_number(column = count)
```
-
-
-
-
-
-
+
+
+
+
region |
institution |
count |
@@ -655,25 +683,25 @@ atlases |>
Global |
Global Biodiversity Information Facility |
-2,083,165,001.00 |
+2,090,811,458.00 |
United Kingdom |
National Biodiversity Network |
-254,155,214.00 |
+254,150,224.00 |
France |
Portail français d'accès aux données d'observation sur les espèces |
143,668,494.00 |
Australia |
Atlas of Living Australia |
-131,963,195.00 |
+132,342,396.00 |
Sweden |
Swedish Biodiversity Data Infrastructure |
124,556,849.00 |
Spain |
GBIF Spain |
-57,696,934.00 |
+58,531,561.00 |
Brazil |
Sistemas de Informações sobre a Biodiversidade Brasileira |
-24,369,137.00 |
+28,391,979.00 |
Portugal |
GBIF Portugal |
16,043,865.00 |
@@ -682,7 +710,7 @@ atlases |>
8,976,175.00 |
Estonia |
eElurikkus |
-7,475,447.00 |
+7,438,474.00 |
Guatemala |
Sistema Nacional de Información sobre Diversidad Biológica de Guatemala |
3,617,694.00 |
diff --git a/vignettes/download_data.Rmd b/vignettes/download_data.Rmd
index cff4ff11..f173f2d1 100644
--- a/vignettes/download_data.Rmd
+++ b/vignettes/download_data.Rmd
@@ -1,7 +1,7 @@
---
title: "Download data"
author: "Martin Westgate & Dax Kellie"
-date: '2023-11-07'
+date: '2023-12-14'
output:
rmarkdown::html_vignette
vignette: >
@@ -39,7 +39,7 @@ atlas_counts()
## # A tibble: 1 × 1
## count
##
-## 1 131963195
+## 1 132342396
```
In addition to the filter arguments, it has an optional `group_by` argument,
@@ -56,16 +56,16 @@ galah_call() |>
## # A tibble: 11 × 2
## kingdom count
##
-## 1 Animalia 101176164
-## 2 Plantae 26026027
-## 3 Fungi 2285235
-## 4 Chromista 1020325
-## 5 Protista 352282
-## 6 Bacteria 113165
-## 7 Eukaryota 8821
-## 8 Protozoa 4716
-## 9 Archaea 4120
-## 10 Virus 2306
+## 1 Animalia 101442503
+## 2 Plantae 26136825
+## 3 Fungi 2293753
+## 4 Chromista 1021828
+## 5 Protista 352983
+## 6 Bacteria 113118
+## 7 Eukaryota 8826
+## 8 Protozoa 4765
+## 9 Archaea 4119
+## 10 Virus 2307
## 11 Viroid 103
```
@@ -89,14 +89,14 @@ species |> head()
```
## # A tibble: 6 × 10
-## kingdom phylum class order family genus species author species_guid vernacular_name
-##
-## 1 Animalia Chordata Mammalia Roden… Murid… Pseu… Pseudo… (Goul… https://bio… Delicate Mouse
-## 2 Animalia Chordata Mammalia Roden… Murid… Mese… Mesemb… (J.E.… https://bio… Black-footed T…
-## 3 Animalia Chordata Mammalia Roden… Murid… Zyzo… Zyzomy… (Thom… https://bio… Common Rock-rat
-## 4 Animalia Chordata Mammalia Roden… Murid… Pseu… Pseudo… (Wait… https://bio… Sandy Inland M…
-## 5 Animalia Chordata Mammalia Roden… Murid… Melo… Melomy… (Rams… https://bio… Grassland Melo…
-## 6 Animalia Chordata Mammalia Roden… Murid… Noto… Notomy… Thoma… https://bio… Spinifex Hoppi…
+## kingdom phylum class order family genus species author species_guid vernacular_name
+##
+## 1 Animalia Chordata Mammalia Rodentia Muridae Pseudomys Pseudomys delicatulus (Gould, 1842) https://biodiv… Delicate Mouse
+## 2 Animalia Chordata Mammalia Rodentia Muridae Mesembriomys Mesembriomys gouldii (J.E. Gray, 1843) https://biodiv… Black-footed T…
+## 3 Animalia Chordata Mammalia Rodentia Muridae Zyzomys Zyzomys argurus (Thomas, 1889) https://biodiv… Common Rock-rat
+## 4 Animalia Chordata Mammalia Rodentia Muridae Pseudomys Pseudomys hermannsburgensis (Waite, 1896) https://biodiv… Sandy Inland M…
+## 5 Animalia Chordata Mammalia Rodentia Muridae Melomys Melomys burtoni (Ramsay, 1887) https://biodiv… Grassland Melo…
+## 6 Animalia Chordata Mammalia Rodentia Muridae Notomys Notomys alexis Thomas, 1922 https://biodiv… Spinifex Hoppi…
```
@@ -129,6 +129,7 @@ occ <- galah_call() |>
## Retrying in 1 seconds.
## Retrying in 2 seconds.
## Retrying in 4 seconds.
+## Retrying in 8 seconds.
```
```r
@@ -137,16 +138,15 @@ occ |> head()
```
## # A tibble: 6 × 9
-## recordID scientificName taxonConceptID decimalLatitude decimalLongitude
-##
-## 1 0000a928-d756-42eb-8058-6f… Eolophus rose… https://biodi… -35.6 149.
-## 2 0001bc78-d2e9-48aa-8b9d-d6… Eolophus rose… https://biodi… -35.2 149.
-## 3 0002064f-08ea-425b-97c5-26… Eolophus rose… https://biodi… -35.3 149.
-## 4 00022dd2-9f85-4802-b837-7f… Eolophus rose… https://biodi… -35.3 149.
-## 5 0002cc35-8d5a-4d20-8012-12… Eolophus rose… https://biodi… -35.3 149.
-## 6 00030a8c-082f-44f0-898a-ad… Eolophus rose… https://biodi… -35.3 149.
-## # ℹ 4 more variables: eventDate , occurrenceStatus , dataResourceName ,
-## # institutionID
+## recordID scientificName taxonConceptID decimalLatitude decimalLongitude eventDate occurrenceStatus dataResourceName
+##
+## 1 0000a928-d756-42… Eolophus rose… https://biodi… -35.6 149. 2017-04-19 09:11:00 PRESENT eBird Australia
+## 2 0001bc78-d2e9-48… Eolophus rose… https://biodi… -35.2 149. 2019-08-13 15:13:00 PRESENT eBird Australia
+## 3 0002064f-08ea-42… Eolophus rose… https://biodi… -35.3 149. 2014-03-16 06:48:00 PRESENT eBird Australia
+## 4 00022dd2-9f85-48… Eolophus rose… https://biodi… -35.3 149. 2022-05-08 08:20:00 PRESENT eBird Australia
+## 5 0002cc35-8d5a-4d… Eolophus rose… https://biodi… -35.3 149. 2015-11-01 08:00:00 PRESENT eBird Australia
+## 6 00030a8c-082f-44… Eolophus rose… https://biodi… -35.3 149. 2022-01-06 11:47:00 PRESENT eBird Australia
+## # ℹ 1 more variable: institutionID
```
@@ -168,6 +168,8 @@ media_data <- galah_call() |>
```
## Retrying in 1 seconds.
+## Retrying in 2 seconds.
+## Retrying in 4 seconds.
```
```r
@@ -176,17 +178,16 @@ media_data |> head()
```
## # A tibble: 6 × 19
-## media_id recordID scientificName taxonConceptID decimalLatitude decimalLongitude
-##
-## 1 ff8322d0-f44c-47a… 003a192… Eolophus rose… https://biodi… -35.3 149.
-## 2 c66fc819-7022-44f… 015ee7c… Eolophus rose… https://biodi… -35.4 149.
-## 3 fe6d7b94-9e61-4ac… 05e86b7… Eolophus rose… https://biodi… -35.4 149.
-## 4 2f4d32c0-a084-4bb… 063bb0f… Eolophus rose… https://biodi… -35.6 149.
-## 5 73407414-0707-429… 063bb0f… Eolophus rose… https://biodi… -35.6 149.
-## 6 89171c49-5a64-423… 063bb0f… Eolophus rose… https://biodi… -35.6 149.
-## # ℹ 13 more variables: eventDate , occurrenceStatus , dataResourceName ,
-## # multimedia , images , videos , sounds , creator ,
-## # license , mimetype , width , height , image_url
+## media_id recordID scientificName taxonConceptID decimalLatitude decimalLongitude eventDate occurrenceStatus dataResourceName
+##
+## 1 ff8322d… 003a192… Eolophus rose… https://biodi… -35.3 149. 2020-09-12 06:11:00 PRESENT iNaturalist Aus…
+## 2 c66fc81… 015ee7c… Eolophus rose… https://biodi… -35.4 149. 2020-08-09 05:11:00 PRESENT iNaturalist Aus…
+## 3 fe6d7b9… 05e86b7… Eolophus rose… https://biodi… -35.4 149. 2020-11-13 22:29:00 PRESENT NatureMapr
+## 4 2f4d32c… 063bb0f… Eolophus rose… https://biodi… -35.6 149. 2020-08-04 01:50:00 PRESENT iNaturalist Aus…
+## 5 7340741… 063bb0f… Eolophus rose… https://biodi… -35.6 149. 2020-08-04 01:50:00 PRESENT iNaturalist Aus…
+## 6 89171c4… 063bb0f… Eolophus rose… https://biodi… -35.6 149. 2020-08-04 01:50:00 PRESENT iNaturalist Aus…
+## # ℹ 10 more variables: multimedia , images , videos , sounds , creator , license , mimetype ,
+## # width , height , image_url
```
To actually download the media files to your computer, use [collect_media()].
@@ -207,27 +208,27 @@ galah_call() |>
```
## # A tibble: 19 × 4
-## name rank parent_taxon_concept_id taxon_concept_id
-##
-## 1 Chordata phylum https://biodive…
-## 2 Cephalochordata subphylum https://biodiversity.org.au/afd/taxa/065f1da4… https://biodive…
-## 3 Tunicata subphylum https://biodiversity.org.au/afd/taxa/065f1da4… https://biodive…
-## 4 Appendicularia class https://biodiversity.org.au/afd/taxa/1c20ed62… https://biodive…
-## 5 Ascidiacea class https://biodiversity.org.au/afd/taxa/1c20ed62… https://biodive…
-## 6 Thaliacea class https://biodiversity.org.au/afd/taxa/1c20ed62… https://biodive…
-## 7 Vertebrata subphylum https://biodiversity.org.au/afd/taxa/065f1da4… https://biodive…
-## 8 Agnatha informal https://biodiversity.org.au/afd/taxa/5d6076b1… https://biodive…
-## 9 Myxini informal https://biodiversity.org.au/afd/taxa/66db22c8… https://biodive…
-## 10 Petromyzontida informal https://biodiversity.org.au/afd/taxa/66db22c8… https://biodive…
-## 11 Gnathostomata informal https://biodiversity.org.au/afd/taxa/5d6076b1… https://biodive…
-## 12 Amphibia class https://biodiversity.org.au/afd/taxa/ef5515fd… https://biodive…
-## 13 Aves class https://biodiversity.org.au/afd/taxa/ef5515fd… https://biodive…
-## 14 Mammalia class https://biodiversity.org.au/afd/taxa/ef5515fd… https://biodive…
-## 15 Pisces informal https://biodiversity.org.au/afd/taxa/ef5515fd… https://biodive…
-## 16 Actinopterygii class https://biodiversity.org.au/afd/taxa/e22efeb4… https://biodive…
-## 17 Chondrichthyes class https://biodiversity.org.au/afd/taxa/e22efeb4… https://biodive…
-## 18 Sarcopterygii class https://biodiversity.org.au/afd/taxa/e22efeb4… https://biodive…
-## 19 Reptilia class https://biodiversity.org.au/afd/taxa/ef5515fd… https://biodive…
+## name rank parent_taxon_concept_id taxon_concept_id
+##
+## 1 Chordata phylum https://biodiversity.org.au/afd/…
+## 2 Cephalochordata subphylum https://biodiversity.org.au/afd/taxa/065f1da4-53cd-40b8-a396-80fa5c74dedd https://biodiversity.org.au/afd/…
+## 3 Tunicata subphylum https://biodiversity.org.au/afd/taxa/065f1da4-53cd-40b8-a396-80fa5c74dedd https://biodiversity.org.au/afd/…
+## 4 Appendicularia class https://biodiversity.org.au/afd/taxa/1c20ed62-d918-4e42-b625-8b86d533cc51 https://biodiversity.org.au/afd/…
+## 5 Ascidiacea class https://biodiversity.org.au/afd/taxa/1c20ed62-d918-4e42-b625-8b86d533cc51 https://biodiversity.org.au/afd/…
+## 6 Thaliacea class https://biodiversity.org.au/afd/taxa/1c20ed62-d918-4e42-b625-8b86d533cc51 https://biodiversity.org.au/afd/…
+## 7 Vertebrata subphylum https://biodiversity.org.au/afd/taxa/065f1da4-53cd-40b8-a396-80fa5c74dedd https://biodiversity.org.au/afd/…
+## 8 Agnatha informal https://biodiversity.org.au/afd/taxa/5d6076b1-b7c7-487f-9d61-0fea0111cc7e https://biodiversity.org.au/afd/…
+## 9 Myxini informal https://biodiversity.org.au/afd/taxa/66db22c8-891d-4b16-a1a2-b66feaeaa3e0 https://biodiversity.org.au/afd/…
+## 10 Petromyzontida informal https://biodiversity.org.au/afd/taxa/66db22c8-891d-4b16-a1a2-b66feaeaa3e0 https://biodiversity.org.au/afd/…
+## 11 Gnathostomata informal https://biodiversity.org.au/afd/taxa/5d6076b1-b7c7-487f-9d61-0fea0111cc7e https://biodiversity.org.au/afd/…
+## 12 Amphibia class https://biodiversity.org.au/afd/taxa/ef5515fd-a0a2-4e16-b61a-0f19f8900f76 https://biodiversity.org.au/afd/…
+## 13 Aves class https://biodiversity.org.au/afd/taxa/ef5515fd-a0a2-4e16-b61a-0f19f8900f76 https://biodiversity.org.au/afd/…
+## 14 Mammalia class https://biodiversity.org.au/afd/taxa/ef5515fd-a0a2-4e16-b61a-0f19f8900f76 https://biodiversity.org.au/afd/…
+## 15 Pisces informal https://biodiversity.org.au/afd/taxa/ef5515fd-a0a2-4e16-b61a-0f19f8900f76 https://biodiversity.org.au/afd/…
+## 16 Actinopterygii class https://biodiversity.org.au/afd/taxa/e22efeb4-2cb5-4250-8d71-61c48bdaa051 https://biodiversity.org.au/afd/…
+## 17 Chondrichthyes class https://biodiversity.org.au/afd/taxa/e22efeb4-2cb5-4250-8d71-61c48bdaa051 https://biodiversity.org.au/afd/…
+## 18 Sarcopterygii class https://biodiversity.org.au/afd/taxa/e22efeb4-2cb5-4250-8d71-61c48bdaa051 https://biodiversity.org.au/afd/…
+## 19 Reptilia class https://biodiversity.org.au/afd/taxa/ef5515fd-a0a2-4e16-b61a-0f19f8900f76 https://biodiversity.org.au/afd/…
```
# Configuring `galah`
diff --git a/vignettes/look_up_information.Rmd b/vignettes/look_up_information.Rmd
index 176abbea..81750798 100644
--- a/vignettes/look_up_information.Rmd
+++ b/vignettes/look_up_information.Rmd
@@ -1,7 +1,7 @@
---
title: "Look up information"
author: "Martin Westgate & Dax Kellie"
-date: '2023-11-07'
+date: '2023-12-14'
output:
rmarkdown::html_vignette
vignette: >
@@ -28,19 +28,19 @@ show_all(atlases)
```
## # A tibble: 11 × 4
-## region institution acronym url
-##
-## 1 Australia Atlas of Living Australia ALA http…
-## 2 Austria Biodiversitäts-Atlas Österreich BAO http…
-## 3 Brazil Sistemas de Informações sobre a Biodiversidade Brasileira SiBBr http…
-## 4 Estonia eElurikkus http…
-## 5 France Portail français d'accès aux données d'observation sur les … OpenObs http…
-## 6 Global Global Biodiversity Information Facility GBIF http…
-## 7 Guatemala Sistema Nacional de Información sobre Diversidad Biológica … SNIBgt http…
-## 8 Portugal GBIF Portugal GBIF.pt http…
-## 9 Spain GBIF Spain GBIF.es http…
-## 10 Sweden Swedish Biodiversity Data Infrastructure SBDI http…
-## 11 United Kingdom National Biodiversity Network NBN http…
+## region institution acronym url
+##
+## 1 Australia Atlas of Living Australia ALA https://www.ala.org.au
+## 2 Austria Biodiversitäts-Atlas Österreich BAO https://biodiversityatlas.at
+## 3 Brazil Sistemas de Informações sobre a Biodiversidade Brasileira SiBBr https://sibbr.gov.br
+## 4 Estonia eElurikkus https://elurikkus.ee
+## 5 France Portail français d'accès aux données d'observation sur les espèces OpenObs https://openobs.mnhn.fr
+## 6 Global Global Biodiversity Information Facility GBIF https://gbif.org
+## 7 Guatemala Sistema Nacional de Información sobre Diversidad Biológica de Guatemala SNIBgt https://snib.conap.gob.gt
+## 8 Portugal GBIF Portugal GBIF.pt https://www.gbif.pt
+## 9 Spain GBIF Spain GBIF.es https://www.gbif.es
+## 10 Sweden Swedish Biodiversity Data Infrastructure SBDI https://biodiversitydata.se
+## 11 United Kingdom National Biodiversity Network NBN https://nbn.org.uk
```
To search for a specific available Living Atlas:
@@ -205,19 +205,19 @@ show_all_atlases()
```
## # A tibble: 11 × 4
-## region institution acronym url
-##
-## 1 Australia Atlas of Living Australia ALA http…
-## 2 Austria Biodiversitäts-Atlas Österreich BAO http…
-## 3 Brazil Sistemas de Informações sobre a Biodiversidade Brasileira SiBBr http…
-## 4 Estonia eElurikkus http…
-## 5 France Portail français d'accès aux données d'observation sur les … OpenObs http…
-## 6 Global Global Biodiversity Information Facility GBIF http…
-## 7 Guatemala Sistema Nacional de Información sobre Diversidad Biológica … SNIBgt http…
-## 8 Portugal GBIF Portugal GBIF.pt http…
-## 9 Spain GBIF Spain GBIF.es http…
-## 10 Sweden Swedish Biodiversity Data Infrastructure SBDI http…
-## 11 United Kingdom National Biodiversity Network NBN http…
+## region institution acronym url
+##
+## 1 Australia Atlas of Living Australia ALA https://www.ala.org.au
+## 2 Austria Biodiversitäts-Atlas Österreich BAO https://biodiversityatlas.at
+## 3 Brazil Sistemas de Informações sobre a Biodiversidade Brasileira SiBBr https://sibbr.gov.br
+## 4 Estonia eElurikkus https://elurikkus.ee
+## 5 France Portail français d'accès aux données d'observation sur les espèces OpenObs https://openobs.mnhn.fr
+## 6 Global Global Biodiversity Information Facility GBIF https://gbif.org
+## 7 Guatemala Sistema Nacional de Información sobre Diversidad Biológica de Guatemala SNIBgt https://snib.conap.gob.gt
+## 8 Portugal GBIF Portugal GBIF.pt https://www.gbif.pt
+## 9 Spain GBIF Spain GBIF.es https://www.gbif.es
+## 10 Sweden Swedish Biodiversity Data Infrastructure SBDI https://biodiversitydata.se
+## 11 United Kingdom National Biodiversity Network NBN https://nbn.org.uk
```
```r
@@ -262,9 +262,9 @@ search_taxa("reptilia")
```
## # A tibble: 1 × 9
-## search_term scientific_name taxon_concept_id rank match_type kingdom phylum class issues
-##
-## 1 reptilia REPTILIA https://biodiver… class exactMatch Animal… Chord… Rept… noIss…
+## search_term scientific_name taxon_concept_id rank match_type kingdom phylum class issues
+##
+## 1 reptilia REPTILIA https://biodiversity.org.au/afd/taxa/682e1228-5b3c-45ff-833b… class exactMatch Animal… Chord… Rept… noIss…
```
```r
@@ -273,9 +273,9 @@ search_taxa("reptilia", "aves", "mammalia", "pisces")
```
## # A tibble: 1 × 9
-## search_term scientific_name taxon_concept_id rank match_type kingdom phylum class issues
-##
-## 1 reptilia REPTILIA https://biodiver… class exactMatch Animal… Chord… Rept… noIss…
+## search_term scientific_name taxon_concept_id rank match_type kingdom phylum class issues
+##
+## 1 reptilia REPTILIA https://biodiversity.org.au/afd/taxa/682e1228-5b3c-45ff-833b… class exactMatch Animal… Chord… Rept… noIss…
```
Alternatively, `search_identifiers` is the partner function to `search_taxa`.
@@ -289,11 +289,10 @@ search_identifiers("urn:lsid:biodiversity.org.au:afd.taxon:682e1228-5b3c-45ff-83
```
## # A tibble: 1 × 15
-## search_term success scientific_name taxon_concept_id rank rank_id lft rgt match_type
-##
-## 1 urn:lsid:bi… TRUE REPTILIA https://biodive… class 3000 46718 49924 taxonIdMa…
-## # ℹ 6 more variables: kingdom , kingdom_id , phylum , phylum_id ,
-## # class , class_id
+## search_term success scientific_name taxon_concept_id rank rank_id lft rgt match_type kingdom kingdom_id phylum phylum_id class
+##
+## 1 urn:lsid:biod… TRUE REPTILIA https://biodive… class 3000 46718 49924 taxonIdMa… Animal… https://b… Chord… https://… Rept…
+## # ℹ 1 more variable: class_id
```
Sifting through the output of `show_all_fields` to find a specific field can be
@@ -379,12 +378,12 @@ search_all(profiles, "ALA") |>
```
## # A tibble: 6 × 5
-## id enabled description filter displayOrder
-##
-## 1 94 TRUE "Exclude all records where spatial validity is \"false\… "-spa… 1
-## 2 96 TRUE "Exclude all records with an assertion that the scienti… "-ass… 1
-## 3 97 TRUE "Exclude all records with an assertion that the scienti… "-ass… 2
-## 4 98 TRUE "Exclude all records with an assertion that the name an… "-ass… 3
-## 5 99 TRUE "Exclude all records with an assertion that kingdom pro… "-ass… 4
-## 6 100 TRUE "Exclude all records with an assertion that the scienti… "-ass… 5
+## id enabled description filter displayOrder
+##
+## 1 94 TRUE "Exclude all records where spatial validity is \"false\"" "-spa… 1
+## 2 96 TRUE "Exclude all records with an assertion that the scientific name provided does not match any of the … "-ass… 1
+## 3 97 TRUE "Exclude all records with an assertion that the scientific name provided is not structured as a val… "-ass… 2
+## 4 98 TRUE "Exclude all records with an assertion that the name and classification supplied can't be used to c… "-ass… 3
+## 5 99 TRUE "Exclude all records with an assertion that kingdom provided doesn't match a known kingdom e.g. Ani… "-ass… 4
+## 6 100 TRUE "Exclude all records with an assertion that the scientific name provided in the record does not mat… "-ass… 5
```
diff --git a/vignettes/narrow_your_results.Rmd b/vignettes/narrow_your_results.Rmd
index cc35505d..7eec788a 100644
--- a/vignettes/narrow_your_results.Rmd
+++ b/vignettes/narrow_your_results.Rmd
@@ -1,7 +1,7 @@
---
title: "Narrow your results"
author: "Martin Westgate & Dax Kellie"
-date: '2023-11-07'
+date: '2023-12-14'
output: html_document
editor_options:
chunk_output_type: inline
@@ -54,9 +54,9 @@ search_taxa("Reptilia")
```
## # A tibble: 1 × 9
-## search_term scientific_name taxon_concept_id rank match_type kingdom phylum class issues
-##
-## 1 Reptilia REPTILIA https://biodiver… class exactMatch Animal… Chord… Rept… noIss…
+## search_term scientific_name taxon_concept_id rank match_type kingdom phylum class issues
+##
+## 1 Reptilia REPTILIA https://biodiversity.org.au/afd/taxa/682e1228-5b3c-45ff-833b… class exactMatch Animal… Chord… Rept… noIss…
```
If we want to be more specific by providing additional taxonomic information
@@ -69,11 +69,10 @@ search_taxa(tibble(genus = "Eolophus", kingdom = "Aves"))
```
## # A tibble: 1 × 13
-## search_term scientific_name scientific_name_authorship taxon_concept_id rank match_type
-##
-## 1 Eolophus_Aves Eolophus Bonaparte, 1854 https://biodive… genus exactMatch
-## # ℹ 7 more variables: kingdom