Coder Social home page Coder Social logo

baad.data's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

baad.data's Issues

No definition for column `speciesMatched`

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

Determine why tests are failing on windows

Tests of baad.data are failing on windows machines (via Appveyor). In particular, the test checking the objects return the same hash is failing. From Appveyor build1.07, we have

  1. Failure: ecology version (@test-baad-data.R#12) 

  Error: testthat unit tests failed

Line 12 is the test for object hash.

Running on my machine I get the same output as is encoded in the test"

d <- baad.data::baad_data("1.0.0")
storr:::hash_object(d)
[1] "7c59e15a5d56752775e8f8e9748e3556"

@RemkoDuursma can you confirm what you get on your windows machine when you run the above two lines?

It would be great if you could also download the baad.data repo and run the tests to see if they pass.

Context to the readme?

@richfitz thanks for sharing, I really like this approach.

While presumably most people will come to this repo by way of the paper rather than the other way around, it would be nice to state what kind of data 'baad' contains in the README and repository description. (We're trying to remedy the same problem with a lot of ropensci readmes that are equally opaque, particularly whenever the database in question is some acronym). A link to your Ecology paper would likewise be handy (though I guess if it's not open access that may be less convenient for some as a way of documenting what's going on here).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.