ropensci / rredlist

IUCN Red List API Client
https://docs.ropensci.org/rredlist
Other
50 stars 15 forks source link

Metadata function #28

Closed arw36 closed 4 years ago

arw36 commented 6 years ago

Would be extremely helpful if there was a searchable metadata file that gives all options of variables. These documents tend to be buried in the redlist API host website or in pdf format. For instance. For "threats" would be great to upload these documents as a reference table. IUCN_threats-classification_2012.pdf IUCN_dec_2012_guidance_on_threat_impact_scoring.pdf

sckott commented 6 years ago

thanks for this @arw36

what do you mean "all options of variables" . What variables? and what options?

arw36 commented 6 years ago

For instance, when you run rl_threats() you will get a list of the relevant threats (variable = title). Would be nice to have the reference sheet of possible threat titles in a metadata sheet. Example is the Timing variable in the Threat Impact with options:

The Threat classification is listed at http://www.iucnredlist.org/technical-documents/classification-schemes/threats-classification-scheme rather than in the API site specifically. It seems for each table you need to dig deep in IUCN to find the metadata, so would be ideal for the R package to have a place for this.

sckott commented 6 years ago

thanks for clarification. Would you mind helping me make a list of the functions that could use links to further documentation?

arw36 commented 6 years ago

Sure thing, there's actually only three that I found with API access. rredlist_metadata.xlsx

sckott commented 6 years ago

just re-uploading in a more universal format

file.txt

sckott commented 6 years ago

hi @arw36 - sorry about the delay! Do you think you have time/interest to send a pull request with the changes we've discussed here? if not no worries, let me know either way

arw36 commented 6 years ago

I’ll take a stab at this and let you know this weekend.

On Jul 18, 2018, at 5:12 PM, Scott Chamberlain notifications@github.com wrote:

hi @arw36 - sorry about the delay! Do you think you have time/interest to send a pull request with the changes we've discussed here? if not no worries, let me know either way

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

sckott commented 6 years ago

thanks @arw36 😸