AtlasOfLivingAustralia / galah-R

Query living atlases from R
https://galah.ala.org.au
39 stars 3 forks source link

Use `qa=includeall` for `select_columns(group = 'assertions')` #48

Closed matildastevenson closed 3 years ago

matildastevenson commented 3 years ago

For columns, the ALA web services treat 'assertion' fields and normal fields differently. Assertions relate to record issues- some more information on them is here. To request assertion columns in returned data from the offline/occurrences/ web service (used by ala_occurrences), the qa parameter is used. To request other columns in returned data, the fields parameter is used. Some more information on the parameters accepted by the web service is here.

galah allows users to request all possible assertions in returned data using select_columns(group = 'assertions'), so users don't have to specify them all. Behind the scenes, galah then converts this into a concatenated string of all the assertions. Instead, it would be better to just send qa=includeall (or qa=includeAll, need to test which one works)