Hello, I am trying to extract some data with the occurrence function, but it is not returning the expected fields.
E.g. -
tmp <- robis::occurrence(scientificname = "Raja miraletus",
fields = c("scientificName",
"basisOfRecord",
"decimalLatitude",
"decimalLongitude",
"bathymetry",
"shoredistance",
"sst",
"sss")
)
will only return 5 fields:
> names(tmp)
[1] "basisOfRecord" "decimalLatitude" "decimalLongitude" "scientificName" "id"
Limiting the fields to just 'sst' or 'sss' returns only the id column:
tmp <- robis::occurrence(scientificname = "Raja miraletus",
fields = c("sst",
"sss")
)
> names(tmp)
[1] "id"
However, if I run the occurrence function with nothing specified in the 'fields' param, I get all 136 columns, including my other columns of interest (bathymetetry, sst, etc.).
Hello, I am trying to extract some data with the
occurrencefunction, but it is not returning the expected fields.E.g. -
will only return 5 fields:
Limiting the fields to just 'sst' or 'sss' returns only the id column:
However, if I run the
occurrencefunction with nothing specified in the 'fields' param, I get all 136 columns, including my other columns of interest (bathymetetry, sst, etc.).