datafolder_update: Save data folder content list to sync to git

Description Usage Arguments Details Value See Also

View source: R/funcs.R

Description

Creates the docs/data_folder_content.csv file which can be synced to git, and used by datafolder_check to make sure the local data folder is up-to-date with the rest of the code

Usage

1
datafolder_update(docs_folder = "docs", data_folder = "data")

Arguments

docs_folder

subfolder where the data_folder_content.csv file is located. Currently cannot be the working directory root.

data_folder

data folder path

Details

The md5 checksum is created using openssl::md5(file(<filename>))

Value

Nothing, writes docs/data_folder_content.csv directly. This csv has two columns, filepath, and md5

See Also

datafolder_check


bosefalk/datafolder documentation built on Sept. 11, 2019, 3:52 p.m.