register_data.RdBuild unique file identifier
register_data(input, output, overwrite = FALSE)
| input | Path to the file to be added to the database. |
|---|---|
| output | Name of the output file, following the output of |
| overwrite | Logical. Should the function overwrite existing files? |
Writes file into standardized file structure.
This function helps users add new data file to a database as
created with masDMT. Note that the function will work with chmod to
modify file permissions. By default, the function will apply a
'read-only' restriction (code 444), preventing potentially wrongful
overwrites or deletions. When overwrite is set to TRUE, the function
will change the restrictions of a file to 'read-write', allowing
users its modification. If this function is run in windows system, the
file will also
receive a system-specific icacls.