mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2026-06-19 05:07:30 +02:00
Deploying to gh-pages from @ agdamsbo/REDCapCAST@db75c3313e 🚀
This commit is contained in:
parent
bc2e23a272
commit
0b30252598
171 changed files with 7009 additions and 602 deletions
28
reference/clean_redcap_name.md
Normal file
28
reference/clean_redcap_name.md
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# clean_redcap_name
|
||||
|
||||
Stepwise removal on non-alphanumeric characters, trailing white space,
|
||||
substitutes spaces for underscores and converts to lower case. Trying to
|
||||
make up for different naming conventions.
|
||||
|
||||
## Usage
|
||||
|
||||
``` r
|
||||
clean_redcap_name(x)
|
||||
```
|
||||
|
||||
## Arguments
|
||||
|
||||
- x:
|
||||
|
||||
vector or data frame for cleaning
|
||||
|
||||
## Value
|
||||
|
||||
vector or data frame, same format as input
|
||||
|
||||
## Examples
|
||||
|
||||
``` r
|
||||
"Research!, ne:ws? and c;l-.ls" |> clean_redcap_name()
|
||||
#> [1] "research_news_and_clls"
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue