mcglinnlab / soar

SOAR: species occurrence aggregator in R
2 stars 0 forks source link

Processing the Data #12

Closed AshleyWoods closed 6 years ago

AshleyWoods commented 6 years ago

The data can now be imported into the app based on lat/long, political boundaries, date, name, and any combination of those. However, did we discuss how we were going to process the data? It's too large for me to open and I don't quite understand the errors it's throwing right now. I believe the issue is in addCircleMarkers() in output$world_map. The error is: "Error in UseMethod: no applicable method for 'metaData' applied to an object of class "NULL" "

dmcglinn commented 6 years ago

Which version of the data are you testing this code on right now. Just the caretta caretta pull we were playing around with yesterday or the all birds dataset?

AshleyWoods commented 6 years ago

I'm actually running the app to download a gbif 'Caretta caretta' data set. (and deleting it when I'm done with the test)

AshleyWoods commented 6 years ago

I think I found the problem, the data downloads as a zip file, not as a csv. I'm having trouble finding a command to extract it without having to know the exact path to the file I want to unzip. However, if someone is running the app on their computer the path would change. Do you know a command that would work?

AshleyWoods commented 6 years ago

After more tinkering, I was very wrong about what the problem was. I can plot the data using the same commands outside of the shiny app on the same data without unzipping it. I think, based on the error, that the method is trying to map the 'meta' variable rather than the 'dat' variable. I have fixed the issue.

dmcglinn commented 6 years ago

Great thanks for the update!

On Jun 1, 2018, at 10:41 AM, AshleyWoods notifications@github.com wrote:

After more tinkering, I was very wrong about what the problem was. I can plot the data using the same commands outside of the shiny app on the same data without unzipping it. I think, based on the error, that the method is trying to map the 'meta' variable rather than the 'dat' variable. I have fixed the issue.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.