tlumip / swimr

Visualizations and Reports for SWIM
Other
0 stars 1 forks source link

Allow custom type aggregations #27

Open gregmacfarlane opened 7 years ago

gregmacfarlane commented 7 years ago

The floor_types and other included lookup tables are handy, but we should have an override field that would allow us to use custom aggregations. This might work as follows:

extracting_thing(db, ..., floor_types = NULL, ...){
  if(is.null(floor_types)){
    #included floor_types
  } else {
    # use custom lookup
  }
}