ibot-geoecology / myClim

R package for processing microclimatic data
GNU General Public License v2.0
6 stars 3 forks source link

mc_read_data( ) custom metadata in localities table #2

Open manmatej opened 1 year ago

manmatej commented 1 year ago

how it works now: it is not allowed to upload user metadata in mc_read_data. You have to first read data with several allowed metadata slots (elevation, coordinates, locality id) and after reading use mc_prep_meta_locality and import user metadata as list of R objects. Not only data.frames but also e.g. species compositions, dissimilarity matrices, spatial data, licenses...

how it should work newly: when user in mc_read_data provides additional columns besides defaults in localities_table the columns are written in custom_metadta slot as data.frame.