BioplatformsAustralia / bpaotu

OTU database access for the Australian Microbiome
GNU Affero General Public License v3.0
5 stars 1 forks source link

Undo debugging loggin and fix csv headers #264

Closed drollins closed 1 year ago

drollins commented 1 year ago

CSV headers now match schema definition, rather than title case and spaces for underscores Units have been removed and added as an extra row above the field name, so when people read it into R, pandas or whatever they can pretty easily skip the first row if needed

Also has better handling of when to remove the _id suffix from a field name (only do this when the column in the sample context table has _id because it links to an ontology table); and some cosmetic capitalisation (i.e convert " Id" to " ID" and "Ph" to "pH")