renameODK | R Documentation |
Rename column names of data exported from an ODK Aggregate Server or from ODK Briefcase into more usable and human readable variable names.
renameODK(data, sep = c(".", "-"))
data |
Dataframe object of dataset exported from ODK Aggregate Server or from local ODK directory |
sep |
Character value for separator used in variable names. Choices are "." or "-". Default is ".". |
Data frame object with renamed variables
# Rename sampleData1 dataset to remove '.' from variable names
names(sampleData1)
renameODK(sampleData1)
names(sampleData1)
# Rename sampleData2 dataset
names(sampleData2)
renameODK(sampleData2)
names(sampleData2)
# Rename sampleData3 dataset
names(sampleData3)
renameODK(sampleData3)
names(sampleData3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.