-
Notifications
You must be signed in to change notification settings - Fork 3
Fix issue with forward slash in taxon name e.g. Fistulifera / Mayamaea #1
Conversation
Hi Tim, Good spot on this one. While your fix will work it seems to me that this is an issue on the NBN side. If there is an entry on the NBN for "Fistulifera / Mayamaea" (which there is) we should expect that a search for "Fistulifera / Mayamaea" should find it. It doesn't, either in rNBN or the search functionality on the gateway. I'm going to contact their support team to see if they can fix this at their end as that is preferable to your fix. On another note, as you are the rNBN user I speak to the most it would be interesting to know what application you are using it for, just for my own interest. Tom |
In fact it looks like a better fix would be: q <- tolower(gsub('%20/%20','%20', q)) As this should result in only the genus you are interested being returned (rather than a list of 7) |
I've updated change to <- tolower(gsub('%20/%20','%20', q)) |
Just on your first comment, I'm helping to update the taxa lists that SEPA hold internally (plants, inverts, algae etc)...which have incomplete NBN codes associated with them. This is working to a degree. But it also highlights some issues:
Anyway, rnbn very handy - thanks! Tim |
Great stuff! Taxonomy can be a real headache. I think POST functionality would be great, and we could integrate that into rNBN but there are issues over quality control. I know there is post functionality to iRecord, and data from there (once verified) goes to NBN so that is well worth a look into. We (at the Biological Records Centre) do a lot of work with distribution maps (MCPs, Alpha Hulls, Frescalo etc) in R, so let me know if you run into any difficulties. Tom |
Yes, had a look at |
hah! True, there are a gazillion different versions of IDs for the same taxon. I'll see if it could be put into |
I have had word from the team at the NBN that this issue has now been fixed, and indeed I just tried it out and it seems to work:
@fozy81 If this addresses your issues I'll close this request |
Thanks, great. |
No description provided.