wcornwell / endemism

0 stars 0 forks source link

Write one line of galah to retrieve the distribution for "Banksia" and "Burnettia" (the plant not the oyster) #1

Closed wcornwell closed 1 year ago

WeppnerJames commented 1 year ago

I have the code to pull from galah but it's saying there is an error:

Error in parse_url(status$statusUrl) : length(url) == 1 is not TRUE

I'm trying to find how to fix this still but I haven't found anything yet.

wcornwell commented 1 year ago

Send like you're close. Post your code

WeppnerJames commented 1 year ago

Banksia <- galah_call() |> galah_identify("Banksia") |> atlas_occurrences() result |> head()

wcornwell commented 1 year ago

This part:

Banksia <- galah_call() |>
galah_identify("Banksia") |>
atlas_occurrences()

works for me, i get a download of 149,985 records

wcornwell commented 1 year ago
Screenshot 2023-06-05 at 11 10 00 am
WeppnerJames commented 1 year ago

It must be to do with my computer then

WeppnerJames commented 1 year ago

I tried using the uni computers to as I think the problem may be with my Mac but it says that galah doesn't have a version for the version of R that is being used so I'm trying to work out how to use earlier versions.

wcornwell commented 1 year ago

try:

install.packages("remotes")
remotes::install_github("AtlasOfLivingAustralia/galah")

on either machine.