Closed mjwestgate closed 1 year ago
Ideally, galah_select should return only those columns specified by the user, unless they also specify group. In practice, however, columns selected by group = "basic" are always present, e.g.:
galah_select
group
group = "basic"
reptile_occurrences_1930 <- galah_call() |> galah_identify("reptilia") |> galah_filter(year == 1930) |> galah_select(eventDate, kingdom) |> atlas_occurrences() > colnames(reptile_occurrences_1930) [1] "eventDate" "kingdom" "decimalLatitude" "decimalLongitude" "scientificName" [6] "taxonConceptID" "recordID" "dataResourceName"
This is almost certainly caused by failing to overwrite the default settings when the user supplies alternate arguments.
Appears fixed now; will close when releasing next version
Ideally,
galah_select
should return only those columns specified by the user, unless they also specifygroup
. In practice, however, columns selected bygroup = "basic"
are always present, e.g.:This is almost certainly caused by failing to overwrite the default settings when the user supplies alternate arguments.