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.
Adds a
dir_name
argument to thedownload_d1_data()
function, which allows the user to specify a name for the downloaded data folder. If not specified, thendir_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.