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

No definition for columns speciesMatched & studyName #223

Closed
jscamac opened this issue Apr 19, 2016 · 0 comments
Closed

No definition for columns speciesMatched & studyName #223

jscamac opened this issue Apr 19, 2016 · 0 comments

Comments

@jscamac
Copy link
Contributor

jscamac commented Apr 19, 2016

baad has two species columns: species and speciesMatched, however there is only a definition for species

e.g.

> subset(dat$dictionary, variable =='species')
  variable units   group      type has_methods essential   label minValue maxValue allowableValues                           description
9  species  <NA> species character       FALSE      TRUE species       NA       NA            <NA> latin name of species (genus species)


> subset(dat$dictionary, variable =='speciesMatched')
 [1] variable        units           group           type            has_methods     essential       label           minValue        maxValue        allowableValues description    
<0 rows> (or 0-length row.names)

I'm guessing speciesMatched is the a column that has been checked against some species name database?

Also although self explanatory there is no dictionary definition for studyName either.
For consistency I think the dictionary should match the structure of the data.
This can happen by adding definitions for the two variables I mention above.

# of columns
> length(names(baad$data))
[1] 62
# of column definitions
> length(baad$dictionary$variable)
[1] 60
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