file_checksums: Generate MD5 file checksums and save as json file

View source: R/file_checksums.R

file_checksumsR Documentation

Generate MD5 file checksums and save as json file

Description

Generate MD5 file checksums and save as json file

Usage

file_checksums(
  dir_path = "data",
  dir_path_contains = "distribution",
  file_extensions = c("csv", "geojson", "parquet", "tif"),
  output_path = "data",
  output_name = "distribution_file_manifest"
)

Arguments

dir_path

Path to directory of files to process.

dir_path_contains

Path to directory of files contains a specific string.

file_extensions

Filter for specific file types like csv or tif

output_path

Path to output directory for json file

output_name

Name of output file.

Examples

file_checksums("data/")
list.files("data", pattern = "*manifest*")

uva-bi-sdad/dc.utils documentation built on Aug. 1, 2022, 1:45 a.m.