Closed JosiahParry closed 7 months ago
OMG thank you. I did not know this existed. How long has it been around?? I've been manually pulling from the API in R for years 😮
Unofficially for like 6-8 months. But "officially" like a week and a half ;)
Haha okay that makes me feel a lot better, I wrote this code more than a week and a half ago. Definitely will use it in the future.
Not the right place for this question but - I see the documentation says arcgislayers requires [arcgisutils](https://github.com/R-ArcGIS/arcgisutils) for authorization.
- do we need an auth token just for reading from the API? I don't actually have an account myself, I don't publish to ArcGIS, just pull data.
Feel free to strike up a convo at https://github.com/R-ArcGIS/arcgislayers/discussions/ if you want :)
But, no. You definitely do not need a token. That is only for reading content that is privately shared. anything that is publicly available doesn't need a token.
A token would be used for publishing, though, for example
I ran the code and it worked like a charm, thanks again. So much nicer than my initial code. I'll open a proper issue for the token documentation!
This analysis was super cool! I noticed you hand crafted and processed Feature Layer queries :)
In case you want to use data like this in the future you can make it a little bit easier by using the arcgislayers package!
Created on 2024-03-20 with reprex v2.0.2