###fish units from names using $ ##when units flag that specification of methods and defenitions of measurements (e.g. reported vs measured, dr vs fresh weight.)
###fish units from names using $ ##when units flag that specification of methods and defenitions of measurements (e.g. reported vs measured, dr vs fresh weight.)
field.vec=c("Data ID","Official title of the dataset","Project name","Description of project","Author","Author ID(ORCID)","Contributor(s)","Subject matter of research/Vocabulary","Data origin","Funder(s) or sponsor(s) of project","creation date (m/d/yyyy)","Embargo end date","Citation","keywords (AGROVOC)","Country(ies) covered","Point longitude coord. in Dec. Degrees ","Agro-Ecological Zone(s)(FAO) covered","Years covered by data","Crops covered by data","Animals covered by data","Start date of data collection ","End date of data collection ","License (default=CC-BY)","Permission given by email","Rights","Contact email")
#set up metadata
#mid.names=c("ID","Country","Name region","Name site","Minimum latitude","Maximum latitude", "Minimum longitude","Maximum longitude","Experiment/survey","Type of experiment","Type of survey","On-farm/on-station","Crops","Animals","Soil type")
field.vec=c("Data ID","Official title of the dataset","Project name","Description of project","Author","Author ID(ORCID)","Contributor(s)","Subject matter of research/Vocabulary","Data origin","Funder(s) or sponsor(s) of project","creation date (m/d/yyyy)","Embargo end date","Citation","keywords (AGROVOC)","Country(ies) covered","Point longitude coord. in Dec. Degrees ","Agro-Ecological Zone(s)(FAO) covered","Years covered by data","Crops covered by data","Animals covered by data","Start date of data collection ","End date of data collection ","License (default=CC-BY)","Permission given by email","Rights","Contact email")