NCEAS / metajam

Bringing data and metadata togetheR
https://nceas.github.io/metajam/
Apache License 2.0
16 stars 7 forks source link

Allow user to name directory #109

Closed nathanhwangbo closed 4 years ago

nathanhwangbo commented 4 years ago

Adds a dir_name argument to the download_d1_data() function, which allows the user to specify a name for the downloaded data folder. If not specified, then dir_name will be a shortened version of the old naming system (ie we get rid of the doi/metadata id at the beginning).

This helps fix the issue where sometimes folder names would be really long.

To keep track of the data, this also adds a metajam.log csv file to the working directory. download_d1_data() will read in this file to keep track of data versions without relying on folder names.