Alliance-for-Tropical-Forest-Science / DataHarmonization

Code to run the data harmonization app and support cross-site analysis
https://alliance-for-tropical-forest-science.github.io/DataHarmonization/
3 stars 1 forks source link

Build a guideline for checking and fixing input #55

Open ValentineHerr opened 1 year ago

ValentineHerr commented 1 year ago

This would likely be a standalone markdown (so we can share link) with imbedded code for suggestions on how to check the data before bringing it into the app. The file will be visualizable in the app.

gabrielareto commented 1 year ago

Stuart mentioned this as a useful ref: https://bien.nceas.ucsb.edu/bien/wp-content/uploads/2013/01/Wiser_etal_2011_VegX.pdf

gabrielareto commented 1 year ago

I add Suzanne's input here:

-- Make sure that tags, stemtags, and quadrats are character fields, so as not to lose leading zeros and tags/stemtags/quadrats with letters or dashes.

Make sure the dates fall within the census range.

  1. flag trees where the growth rates are too high or are negative (diameter shrunk).
  2. make sure all trees that are alive are accounted for in the next census.
gabrielareto commented 1 year ago

(some notes that I took about proper relational db design)

gabrielareto commented 1 year ago

some other notes about relational databases. normal-forms-etc.docx