Closed arw36 closed 1 day ago
Thanks for opening an issue!
For the SYSTEM field, there should be three "_system" columns in the return of rl_search()
. Habitat information is returned as part of rl_narrative()
, and for more specific habitat information, you can use rl_habitat()
.
Unfortunately, I don't see a way to access the other fields that you mentioned from the Red List API, but it's possible that some of these fields would be possible to access via the Red List Spatial API.
It's also possible that these fields will be accessible when the new version of the API is released.
I can confirm that these fields are accessible in the new version of the API, under the "Supplementary Info" of an individual assessment. Feel free to try out a development version of rredlist
which returns this information with the rl_assessment
function.
remotes::install_github("ropensci/rredlist@api_v4")
oo sweet! Will take a look.
I suspect that by Red List API, this does not currently seem possible. But there are several subheadings in the "Habitat and Ecology" section that do not appear accessible via the package, when downloading rl_narrative or rl_search. Particularly: SYSTEM, HABITAT TYPE, GENERATION LENGTH (YEARS), CONGREGATORY, MOVEMENT PATTERNS, CONTINUING DECLINE IN AREA, EXTENT AND/OR QUALITY OF HABITAT
Has this come up before?