View source: R/refine_operations.R
refine_rename_column | R Documentation |
This function allows users to rename an existing column in an OpenRefine project via an API query to /command/core/apply-operations
and the core/column-rename
operation.
refine_rename_column( original_name, new_name, project.name = NULL, project.id = NULL, verbose = FALSE, validate = TRUE, ... )
original_name |
Original name for the column |
new_name |
New name for the column |
project.name |
Name of project |
project.id |
Unique identifier for project |
verbose |
Logical specifying whether or not query result should be printed; default is |
validate |
Logical as to whether or not the operation should validate parameters against existing data in project; default is |
... |
Additional parameters to be inherited by |
Operates as a side-effect passing operations to the OpenRefine instance. However, if verbose=TRUE
then the function will return an object of the class "response".
## Not run: fp <- system.file("extdata", "lateformeeting.csv", package = "rrefine") refine_upload(fp, project.name = "lfm") refine_rename_column("what day whas it", "what_day_was_it", project.name = "lfm") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.