ropensci / popler

The R package to browse and query the popler database
https://docs.ropensci.org/popler
MIT License
8 stars 7 forks source link

Add 'sppcode' among browse() standard taxas #22

Closed AldoCompagnoni closed 7 years ago

AldoCompagnoni commented 7 years ago

Example issue: right now, say 'browse(proj_metadata_key == 95)$taxas' returns an empty data frame. The reason is that taxas are contained in column 'sppcode', which is not included when 'full_tbl=F'. In the above case, to see which species are present, one should type the command: 'browse(proj_metadata_key == 95, full_tbl=T)$taxas'. Resolving this issue would mostly clarify potential confusions on the side of the user.

AldoCompagnoni commented 7 years ago

Changed possible_vars function in the browse.R script to include sppcode.

I am closing this issue, as I believe it is easy enough that it does not deserve peer-review.