-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nhd_get not recognizing Alaska #90
Comments
Thanks for the heads-up. My preference would be to add "AK" to the subsequent line (L20) of that file. Getting automated package checking to recognize built-in datasets can be a real pain in my experience. |
I feel that pain! It looks like it is working here though? Some other U.S. territories that seem to not be recognized but do have NHD state files: American Samoa, Guam, Northern Mariana Islands. |
Awesome1 Let's go with your initial suggestion then. Relevant state/territory code key: |
This is working now, thanks for such a quick fix! |
Hi, thanks for the great package. I'm trying to get data for Alaska and am getting this error message:
It looks like the issue stems from this line of code. I'm not familiar with the maps library but it seems to not have Alaska in it.
https://github.com/jsta/nhdR/blob/master/R/get.R#L19
One solution would be to switch to R's built in
state.abb
dataset plus DC and the territories.The text was updated successfully, but these errors were encountered: