All functions |
|
|---|---|
An all.equal method for variable wide keys |
|
An all.equal method for variable long keys |
|
Keep only alpha-numeric symbols |
|
Create unique anonymous id values |
|
Set missing values |
|
A variable is transformed in an indicated way |
|
Check if values can be safely coerced without introduction of missing values |
|
Replace column names with new names from a named vector |
|
Removes redundant words from beginnings of character strings |
|
Remove columns in which the proportion of missing data exceeds a threshold. |
|
Remove rows in which the proportion of missing data exceeds a threshold. |
|
Create a graphics device |
|
Create a uniquely named directory. Appends number & optionally date to directory name. |
|
Delete multiple slashes, replace with one |
|
Delete trailing slash |
|
Text that is to be included as content in documents is cleaned (escaped) to prevent errors |
|
Create a backup version of a file by renaming it. |
|
Import Qualtrics survey files, apply clean column names |
|
Create project directories, initialize a git repo, create README.md ChangeLog, and R template file in R directory |
|
Check if a data frame is a simple collection of columns (no lists or matrices within) |
|
Check if values are R NA symbol or any one of the na.strings elements |
|
Apply variable key to data frame (generate recoded data frame) |
|
Check a key for consistency of names, values with classes. |
|
keyCrossRef |
|
Diagnose accuracy of result from applying variable key to data |
|
Show difference between 2 keys |
|
Import/validate a key object or import/validate a key from a file. |
|
Look for old (or new) names in variable key |
|
Read file after deducing file type from suffix. |
|
Save key as file after deducing type from suffix |
|
Create variable key template (in memory or in a file) |
|
Import an SPSS file, create a key representing the numeric -> factor transition |
|
Import a Stata (version 12 or lower) file, create a key representing the numeric -> factor transition |
|
Update a key in light of a new data frame (add variables and values) |
|
Homogenize class values and create a long key by pooling variable keys. |
|
Compares keys from different data sets; finds differences classes of variables. This used to check for similarity of keys from various data sets, one precursor to either combining the keys or merging the data sets themselves. |
|
Percentage tables for Likert Scale variables |
|
convert a key object from long to wide format |
|
First draft of function to diagnose problems in merges and key variables |
|
apply a vector of replacements, one after the other. |
|
Use new information to update a vector. Similar in concept to R's modify list |
|
Convert nothing to R missing(NA). |
|
Smoking, Happiness, and other survey responses |
|
Insert 0's in the front of existing digits or characters so that all elements of a vector have the same number of characters. |
|
Show variables, one at a time, QUICKLY and EASILY. |
|
Print a keyDiff object |
|
Print out the result of mergeCheck function. |
|
print method for likert tables |
|
Create meta data frame to align identical questions |
|
Remove elements if they are in a target vector, possibly replacing with NA |
|
Reverse the levels in a factor |
|
If a numeric variable has only integer values, then make it an integer. |
|
Reduce each in a vector of strings to a given length |
|
How many stars would we need for this p value? |
|
keyFactors: private function that does work for keyTemplateSPSS and key template Stata |
|
Insert "\n" after the k'th character in a string. This IS vectorized, so can receive just one or many character strings in a vector. |
|
Cuts a string at a specified linewidth, trying to align cut with a separator |
|
Update packages, spot new dependencies, and install them |
|
Create Variable Label Template |
|
Convert a key object from wide to long format |
|
Write CSV files with quotes same as MS Excel 2013 or newer |
|
Convert leading or trailing white space and tab characters to nothing. |
|