Description Usage Arguments Details Value Note Author(s) Examples
Conform an object to internal standards
1 2 3 4 5 6 7 8 9 10 11 |
x |
object. Object to conform usually a data.frame, data.table or character vector |
... |
objects passed to the next method(s). |
fun |
function to perform the conformation. The default is to look
for the global conformation function: |
conform
provides a very abstract way to ensure that all names
follow a predefined convention.
The default conformation ...
trims whitespace,
abbreviates words,
enforces snake_case.
and makes_names
same type of object as x
with its property set by conform
DP naming standards are lowercase, underscores('_') for whitespace (not periods('.'), leading dot is retained
This function is idempotent – multiple application of the function do not change the results.#' @return data frame that has been conformed to DP standards
Christopher Brown
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.