David LeBauer

Results 172 comments of David LeBauer

@serbinsh did you make sure to update all referents? here is a function for removing duplicates: https://github.com/PecanProject/bety/issues/185 it doesn't work across sites, but this could be solved if db managers...

@serbinsh did you update all of the tables with a `citation_id` field?

@serbinsh you should have seen this: ![image](https://cloud.githubusercontent.com/assets/464871/18930096/5cecaa44-858c-11e6-9444-f512579be7a4.png)

## Update - no yields with missing citation_id - cultivar_id and method_id can be null - can set treatment to a generic treatment that is observational and control = TRUE

Here is the current list of duplicate variable names: ``` array_agg name {202,242} c2n_stem {403,402,401} CO2_concentration {52,613} height {599,501} leaf_reflect_nir {500,600} leaf_reflect_vis {503,597} leaf_trans_nir {502,596} leaf_trans_vis ```

- Should we drop 'area'? - not sure what to do with fields related to 'token' are these used for anything? Should we drop them? - I think that the...

@gsrohde is this ready to be implemented?

I cleaned up Wang and Osnas. @mdietze can fix the other two at BU if necessary. 1440 would be a sensible minimum value for publication year because https://en.m.wikipedia.org/wiki/Printing_press

date can be null. Many of these are fertilization rates: ``` sql SELECT mgmttype, count(*) as n FROM managements WHERE date IS NULL group by mgmttype order by n desc;...

For the duplicates, it is only meaningful to expect that (date, mgmttype) will be unique for the subset of records associated with a single treatment_id.