Closed susannuske closed 4 months ago
Dear Susan,
Please make sure to read the help of function formatDwc()
to check in which arguments of the function gbif and user-provided datasets must be entered. Almost sure you should not enter both datasets in the argument gbif_data
.
I also strongly suggests to install and use the beta version in the development branch of the package in GitHub as there are many changes being made right now, including in the formatDwc()
function. I just made a new commit to this branch today.
You can install the development branch using the codes below:
install.packages("remotes")
install_github("LimaRAF/plantR", ref = "dev")
Please let me know if you still have any problems.
Best regards, Renato
Hello, I am trying to bind data from gbif and Australian Living Atlas (ALA, which also uses Darwin Core) using formatDwc.
Here is my code: ala_gbif <- formatDwc(gbif_data = c(ala,gbif),bind_data = T)
I get the following error: Error in UseMethod("left_join") : no applicable method for 'left_join' applied to an object of class "list"
There should be enough common data columns to allow a bind.
intersect(names(gbif),names(ala)) [1] "data_source" "X" "basisOfRecord" "scientificName" "acceptedScientificName" "genus" "taxonRank"
[8] "taxonomicStatus" "dateIdentified" "decimalLatitude" "decimalLongitude" "stateProvince" "year" "month"
[15] "day" "eventDate" "datasetName" "recordedBy" "identifiedBy" "countryCode" "country"
[22] "verbatimEventDate" "collectionCode" "verbatimLocality" "catalogNumber" "institutionCode" "occurrenceRemarks" "county"
[29] "geometry" "bibliographicCitation" "collectionID" "coordinatePrecision" "datasetID" "dayIdentified" "fieldNotes"
[36] "habitat" "identificationRemarks" "monthIdentified" "type" "verbatimElevation" "verbatimLatitude" "verbatimLongitude"
[43] "yearIdentified"
Can you please help?
Kind Regards, Susan