-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hi,
Currently, to retrieve taxonomic information (kingdom, phylum, class, ..., subspecies) for a set of taxon IDs, I manually download a CSV file from this forum thread and read it locally.
> read_csv("taxonomy.csv")
# A tibble: 1,390,674 × 16
id taxonID identifier parentNameUsageID kingdom phylum class order family genus specificEpithet infraspecificEpithet modified scientificName taxonRank references
<dbl> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <dttm> <chr> <chr> <chr>
1 1 https://www.inaturalist.… https://w… https://www.inat… Animal… NA NA NA NA NA NA NA 2021-11-02 06:05:44 Animalia kingdom http://ww…
2 2 https://www.inaturalist.… https://w… https://www.inat… Animal… Chord… NA NA NA NA NA NA 2021-11-23 00:40:18 Chordata phylum http://ww…
3 3 https://www.inaturalist.… https://w… https://www.inat… Animal… Chord… Aves NA NA NA NA NA 2023-04-18 02:04:33 Aves class http://ww…
4 4 https://www.inaturalist.… https://w… https://www.inat… Animal… Chord… Aves Grui… NA NA NA NA 2019-10-19 15:14:18 Gruiformes order http://ww…
5 5 https://www.inaturalist.… https://w… https://www.inat… Animal… Chord… Aves Grui… Arami… NA NA NA 2022-03-24 16:38:28 Aramidae family http://ww…
6 6 https://www.inaturalist.… https://w… https://www.inat… Animal… Chord… Aves Grui… Arami… Aram… NA NA 2020-02-11 06:43:19 Aramus genus http://ww…
7 7 https://www.inaturalist.… https://w… https://www.inat… Animal… Chord… Aves Grui… Arami… Aram… guarauna NA 2022-03-30 18:35:55 Aramus guarau… species http://ww…
8 12 https://www.inaturalist.… https://w… https://www.inat… Animal… Chord… Aves Cari… Caria… NA NA NA 2022-03-24 16:37:54 Cariamidae family http://ww…
9 13 https://www.inaturalist.… https://w… https://www.inat… Animal… Chord… Aves Cari… Caria… Cari… NA NA 2018-12-19 08:58:24 Cariama genus http://ww…
10 14 https://www.inaturalist.… https://w… https://www.inat… Animal… Chord… Aves Cari… Caria… Cari… cristata NA 2021-07-06 02:04:43 Cariama crist… species http://ww…
# ℹ 1,390,664 more rows
# ℹ Use `print(n = ...)` to see more rowsWould it be possible to add a function to get this kind of dataset about taxonomic information from set of taxon IDs? And optionally include a recursion feature to retrieve information for parent taxa.
This would streamline workflows and enhance the package’s flexibility for taxonomic analyses.
Thank you for your package, and considering this addition!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels