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

What column name should habitat data have, habitat or habitats? #8

Open
maurolepore opened this issue Sep 6, 2017 · 2 comments
Open

Comments

@maurolepore
Copy link
Contributor

Hi @laosuz,

Should habitat data have column name habitat or habitats?

I noticed that the habitat data you sent me (which is here in bciex has column name habitat. But that is different compared to habitat data I saw from the Pasoh plot, which has column name habitats (ends in s).

names(bciex::bci_habitat)
#> [1] "x"       "y"       "habitat"

names(pasoh::pasoh_hab_index20)
#> [1] "x"        "y"        "habitats" "index5"   "index20"

Luckily, this small detail broke some code so I could notice the issue.

@laosuz
Copy link
Collaborator

laosuz commented Sep 7, 2017 via email

@maurolepore
Copy link
Contributor Author

@laosuz

Thanks Suzanne, This helps a lot. Now I know that the name is not rigidly defined and therefore the functions that use that name should be flexible enough or informative enough (i.e. the user gets a message saying what the name should be).

M

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