Add ndays function and unit test for it
Add explicit flags for update/newdata
Add update method and newdata parameter for dataframe
More scaler
Use dataset_id as rid since DBS supplies it