You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per link below, NCBI have changed the 'country' qualifier to 'geo_loc_name', which mean the ncbi_byid() function no longer parses the XML and produces a 'country' field.
# load
library("renv")
library("dplyr")
# test traits at current commitrenv::install("ropensci/traits@ee58d04")
traits::ncbi_byid(ids="MT523282.1") |>dplyr::distinct(country) |> print()
# result is 'NA'# text fix on fork# restart Rrenv::install("boopsboops/traits@ccd098a")
traits::ncbi_byid(ids="MT523282.1") |>dplyr::distinct(country) |> print()
# result is 'Uganda: Kyambura river, mouth, Kazinga Channel' (expected result)
The text was updated successfully, but these errors were encountered:
boopsboops
changed the title
NCBI changed 'country' qualifier to 'geo_loc_name'
NCBI changed 'country' qualifier to 'geo_loc_name' in ncbi_byid()Jul 16, 2024
As per link below, NCBI have changed the 'country' qualifier to 'geo_loc_name', which mean the
ncbi_byid()
function no longer parses the XML and produces a 'country' field.https://ncbiinsights.ncbi.nlm.nih.gov/2023/12/14/update-genbank-qualifier/
It's simple fix and I've issued a pull request.
Code to test:
The text was updated successfully, but these errors were encountered: