matildabrown / rWCVP

Generating Summaries, Reports and Plots from the World Checklist of Vascular Plants
https://matildabrown.github.io/rWCVP/
GNU General Public License v3.0
19 stars 0 forks source link

How update rWCVPdata? #61

Closed eortizb closed 10 months ago

eortizb commented 10 months ago

How can I update rWCVPdata to use it in rWCVP?

matildabrown commented 10 months ago

Instructions here: https://github.com/matildabrown/rWCVPdata#installation

It's still at v11, but v12 can be downloaded and used as a local copy from: https://kew.iro.bl.uk/concern/datasets/32f77ea6-0f7b-4b2d-b7b3-173ed4ca2d6a?locale=en

eortizb commented 10 months ago

Thanks for the information. I do know the datasets page with WCVP updates. But I don't know when I run the wcvp_match_names function how to indicate that it will work with that updated dataset

matildabrown commented 10 months ago

You can point it to a specific (local) version of the WCVP using the wcvp_names argument - see documentation at https://matildabrown.github.io/rWCVP/reference/wcvp_match_names.html (note that this method can be used for all functions, but some will also require the wcvp_distributions argument if using a local copy of the WCVP).

To read in the .txt file, we recommend using read.table("wcvp_names.csv", sep="|", header=TRUE, quote = "", fill=TRUE, encoding = "UTF-8")

eortizb commented 10 months ago

This is useful to me. Thank you.

matildabrown commented 10 months ago

No worries, glad to hear it! 😊 Feel free to reopen if any issues.