View source: R/writeChangeLogFile.R
writeChangeLogFile | R Documentation |
This is an internal CRHMr function and should normally not need to be called directly. This function writes a file containing the a summary of the files as well as the changed data values and a description of their source.
writeChangeLogFile(
action,
original.data.info,
changed.data.info,
changed.data.type,
comment1 = "",
comment2 = "",
comment3 = "",
comment4 = "",
quiet
)
action |
Required. A character string indicating the action taken - usually this is the name of the function making the changes. |
original.data.info |
Required. Information about the original data frame from |
changed.data.info |
Required. Information about the changed data frame from |
changed.data.type |
Required. A vector indicating the type/source of data in the changed dataframe. |
comment1 |
Optional. A comment about the data and/or changes. |
comment2 |
Optional. A comment about the data and/or changes. |
comment3 |
Optional. A comment about the data and/or changes. |
comment4 |
Optional. A comment about the data and/or changes. |
quiet |
Optional. Suppresses display of messages, except for errors. If
you are calling this function in an R script, you will usually leave
|
If successful, returns TRUE
. If unsucessful, returns FALSE
.
Kevin Shook
## Not run:
writeChangeLogFile('appendObs', obs1.info, obs2.info, output.type,
'primary data: obs1', 'secondary data: obs2')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.