Skip to content
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

wpda column titles and marine variable #8

Open
btupper opened this issue Jan 11, 2022 · 1 comment
Open

wpda column titles and marine variable #8

btupper opened this issue Jan 11, 2022 · 1 comment
Assignees

Comments

@btupper
Copy link
Member

btupper commented Jan 11, 2022

Sometimes we get geom and sometimes we get geometry - we should select with dplyr::stars_with("geom") See https://github.com/BigelowLab/mpatools/blob/main/R/es50.R#L14

The MARINE variable has been numeric (0,1,2) in the past, but now we see TERRESTRIAL etc. Yikes! So, cast all to character and recode?

@btupper
Copy link
Member Author

btupper commented Jan 12, 2022

geom/geometry - argh! - resolved by using which_geometry() to get column index. See it in Ben's fork https://github.com/btupper/mpatools/blob/main/R/mpa.R#L130

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants