Closed giligone closed 1 year ago
Hello, I have the same issue with both get_tsn() and classification(db = 'itis'); code lines that worked just fine a few weeks ago now return NAs for every single query.
Hmm, I am not seeing that right now:
library(taxize)
splist <- c("annona cherimola", 'annona muricata', "quercus robur",
"shorea robusta", "pandanus patina", "oryza sativa", "durio zibethinus")
get_tsn(splist)
#> ══ 7 queries ═══════════════
#>
#> Retrieving data for taxon 'annona cherimola'
#> ✔ Found: annona cherimola
#>
#> Retrieving data for taxon 'annona muricata'
#> ✔ Found: annona muricata
#>
#> Retrieving data for taxon 'quercus robur'
#> ✔ Found: quercus robur
#>
#> Retrieving data for taxon 'shorea robusta'
#> ✔ Found: shorea robusta
#>
#> Retrieving data for taxon 'pandanus patina'
#> ✔ Found: pandanus patina
#>
#> Retrieving data for taxon 'oryza sativa'
#> ✔ Found: oryza sativa
#>
#> Retrieving data for taxon 'durio zibethinus'
#> ✔ Found: durio zibethinus
#> ══ Results ═════════════════
#>
#> • Total: 7
#> • Found: 7
#> • Not Found: 0
#> [1] "506198" "18098" "19405" "506787" "507376" "41976" "506099"
#> attr(,"class")
#> [1] "tsn"
#> attr(,"match")
#> [1] "found" "found" "found" "found" "found" "found" "found"
#> attr(,"multiple_matches")
#> [1] FALSE FALSE TRUE FALSE FALSE TRUE FALSE
#> attr(,"pattern_match")
#> [1] FALSE FALSE TRUE FALSE FALSE TRUE FALSE
#> attr(,"uri")
#> [1] "https://www.itis.gov/servlet/SingleRpt/SingleRpt?search_topic=TSN&search_value=506198"
#> [2] "https://www.itis.gov/servlet/SingleRpt/SingleRpt?search_topic=TSN&search_value=18098"
#> [3] "https://www.itis.gov/servlet/SingleRpt/SingleRpt?search_topic=TSN&search_value=19405"
#> [4] "https://www.itis.gov/servlet/SingleRpt/SingleRpt?search_topic=TSN&search_value=506787"
#> [5] "https://www.itis.gov/servlet/SingleRpt/SingleRpt?search_topic=TSN&search_value=507376"
#> [6] "https://www.itis.gov/servlet/SingleRpt/SingleRpt?search_topic=TSN&search_value=41976"
#> [7] "https://www.itis.gov/servlet/SingleRpt/SingleRpt?search_topic=TSN&search_value=506099"
classification(splist, db = 'itis')
#> ══ 7 queries ═══════════════
#>
#> Retrieving data for taxon 'annona cherimola'
#> ✔ Found: annona cherimola
#>
#> Retrieving data for taxon 'annona muricata'
#> ✔ Found: annona muricata
#>
#> Retrieving data for taxon 'quercus robur'
#> ✔ Found: quercus robur
#>
#> Retrieving data for taxon 'shorea robusta'
#> ✔ Found: shorea robusta
#>
#> Retrieving data for taxon 'pandanus patina'
#> ✔ Found: pandanus patina
#>
#> Retrieving data for taxon 'oryza sativa'
#> ✔ Found: oryza sativa
#>
#> Retrieving data for taxon 'durio zibethinus'
#> ✔ Found: durio zibethinus
#> ══ Results ═════════════════
#>
#> • Total: 7
#> • Found: 7
#> • Not Found: 0
#> $`annona cherimola`
#> name rank id
#> 1 Plantae kingdom 202422
#> 2 Viridiplantae subkingdom 954898
#> 3 Streptophyta infrakingdom 846494
#> 4 Embryophyta superdivision 954900
#> 5 Tracheophyta division 846496
#> 6 Spermatophytina subdivision 846504
#> 7 Magnoliopsida class 18063
#> 8 Magnolianae superorder 846543
#> 9 Magnoliales order 18065
#> 10 Annonaceae family 18092
#> 11 Annona genus 18095
#> 12 Annona cherimola species 506198
#>
#> $`annona muricata`
#> name rank id
#> 1 Plantae kingdom 202422
#> 2 Viridiplantae subkingdom 954898
#> 3 Streptophyta infrakingdom 846494
#> 4 Embryophyta superdivision 954900
#> 5 Tracheophyta division 846496
#> 6 Spermatophytina subdivision 846504
#> 7 Magnoliopsida class 18063
#> 8 Magnolianae superorder 846543
#> 9 Magnoliales order 18065
#> 10 Annonaceae family 18092
#> 11 Annona genus 18095
#> 12 Annona muricata species 18098
#>
#> $`quercus robur`
#> name rank id
#> 1 Plantae kingdom 202422
#> 2 Viridiplantae subkingdom 954898
#> 3 Streptophyta infrakingdom 846494
#> 4 Embryophyta superdivision 954900
#> 5 Tracheophyta division 846496
#> 6 Spermatophytina subdivision 846504
#> 7 Magnoliopsida class 18063
#> 8 Rosanae superorder 846548
#> 9 Fagales order 19273
#> 10 Fagaceae family 19275
#> 11 Quercus genus 19276
#> 12 Quercus robur species 19405
#>
#> $`shorea robusta`
#> name rank id
#> 1 Plantae kingdom 202422
#> 2 Viridiplantae subkingdom 954898
#> 3 Streptophyta infrakingdom 846494
#> 4 Embryophyta superdivision 954900
#> 5 Tracheophyta division 846496
#> 6 Spermatophytina subdivision 846504
#> 7 Magnoliopsida class 18063
#> 8 Rosanae superorder 846548
#> 9 Malvales order 21500
#> 10 Dipterocarpaceae family 21367
#> 11 Shorea genus 500828
#> 12 Shorea robusta species 506787
#>
#> $`pandanus patina`
#> name rank id
#> 1 Plantae kingdom 202422
#> 2 Viridiplantae subkingdom 954898
#> 3 Streptophyta infrakingdom 846494
#> 4 Embryophyta superdivision 954900
#> 5 Tracheophyta division 846496
#> 6 Spermatophytina subdivision 846504
#> 7 Magnoliopsida class 18063
#> 8 Lilianae superorder 846542
#> 9 Pandanales order 42518
#> 10 Pandanaceae family 42519
#> 11 Pandanus genus 500462
#> 12 Pandanus patina species 507376
#>
#> $`oryza sativa`
#> name rank id
#> 1 Plantae kingdom 202422
#> 2 Viridiplantae subkingdom 954898
#> 3 Streptophyta infrakingdom 846494
#> 4 Embryophyta superdivision 954900
#> 5 Tracheophyta division 846496
#> 6 Spermatophytina subdivision 846504
#> 7 Magnoliopsida class 18063
#> 8 Lilianae superorder 846542
#> 9 Poales order 846620
#> 10 Poaceae family 40351
#> 11 Oryza genus 41975
#> 12 Oryza sativa species 41976
#>
#> $`durio zibethinus`
#> name rank id
#> 1 Plantae kingdom 202422
#> 2 Viridiplantae subkingdom 954898
#> 3 Streptophyta infrakingdom 846494
#> 4 Embryophyta superdivision 954900
#> 5 Tracheophyta division 846496
#> 6 Spermatophytina subdivision 846504
#> 7 Magnoliopsida class 18063
#> 8 Rosanae superorder 846548
#> 9 Malvales order 21500
#> 10 Malvaceae family 21608
#> 11 Durio genus 500686
#> 12 Durio zibethinus species 506099
#>
#> attr(,"class")
#> [1] "classification"
#> attr(,"db")
#> [1] "itis"
Created on 2023-04-06 with reprex v2.0.2
Can you include an example of a query that fails?
I am also now getting results again. I've changed nothing again so I am uncertain what happened. Perhaps an issue with ITIS? I guess it's resolved for now. Thanks
Yea, probably an issue with the ITIS servers. Thanks for the update!