davidagold / StructuredQueries.jl

Query representations for Julia
Other
53 stars 5 forks source link

Dev #14

Closed davidagold closed 8 years ago

davidagold commented 8 years ago

This PR continues integrating @johnmyleswhite 's work in jplyr_notes (and includes him in the copyright statement in the license) and introduces two major changes:

  1. The functionality previously provided mutate is now provided by select, as in SQL. It would be nice to provide a shorthand for hcat(tbl, select(tbl, ...)). The jury is still out on what that should be.
  2. We take the nuclear option suggested in #2 and completely remove what I've been referring to as the "one-off" interface (the macros @filter, @select, etc.). All manipulation goes through either @query or a new convenience macro @qcollect, which is just like @query except it automatically collects the resultant graph, saving a step for the user.
codecov-io commented 8 years ago

Current coverage is 57.38% (diff: 87.27%)

Merging #14 into master will decrease coverage by 4.95%

@@             master        #14   diff @@
==========================================
  Files            16         16          
  Lines           446        420    -26   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
- Hits            278        241    -37   
- Misses          168        179    +11   
  Partials          0          0          

Powered by Codecov. Last update ee0d984...95bc147