Git Product home page Git Product logo

lagosne's People

Contributors

boudre32 avatar jhollist avatar jsta avatar limnoliver avatar soranno avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

lagosne's Issues

Vignette building breaks CI (and CRAN) checks

The vignettes as currently written require that the full LAGOS dataset is installed and available to lagos_load. I think this is good because it allows us to describe the contents of the data product. However, automated build testing via CI services (and eventually CRAN) breaks because the they don't (and probably should not) have the data available. The only solution I can come up with is to make the vignettes static. That is to pre-build all the vignette figures and tables and display the code chunks without running them (eval = FALSE).

Refactor preprocessing(merging/selecting) functions

At the very least, make preprocessing functions operate on column names and not column numbers

A lot of this code may have reinvented the wheel. It is likely that we can simplify a lot of this by wrapping the dplyr package.

lagos_compile fails

LAGOS:::lagos_compile(version = "1.054.1", format = "rds")

fails with error message:
Error in gzfile(file, mode) : cannot open the connection
In addition: Warning message:
In gzfile(file, mode) :
cannot open compressed file 'C:\Users\Samantha\AppData\Local\LAGOS\LAGOS/data_1.054.1.rds', probable reason 'No such file or directory'

R version 3.3.1 (2016-06-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

sessionInfo()
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] LAGOS_1.054.1

loaded via a namespace (and not attached):
[1] lazyeval_0.2.0 magrittr_1.5 R6_2.1.2 assertthat_0.1 rsconnect_0.4.3
[6] DBI_0.5-12 tools_3.3.1 dplyr_0.5.0 rappdirs_0.3.1 tibble_1.1
[11] Rcpp_0.12.7

rappdirs::user_data_dir("LAGOS")

"C:\Users\Samantha\AppData\Local\LAGOS\LAGOS"

Allow user to select groups of columns

In addition to the ability select columns by name, allow the user to select pre-defined groups of columns within each table. For example, "atmospheric deposition" that may include multiple variables.

Provide user with all column names within each table + metadata

@jsta where is the best place for this information? As a user, I could imagine wanting this to be in two places: 1) some sort of documentation listing each variable within each table, along with some metadata (units, plain English description, etc). We could have documentation for each table, but where (in the package structure) would this go? 2) in a table format, similar to the info table that is currently imported with the rds file.

add variable aliases?

We might consider adding additional alias terms relative to the datasets. For example, we might list "chla", "colora", and "doc" as aliases for the epi.nutr table. This would enable ??LAGOS::chla

LAGOS does not fail well

See #22, and the output of devtools::test(). Need to throw helpful error messages when queries try to return data that does not exist.

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.