Skip to content

zawmtun/zmisc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zmisc

The goal of zmisc is to provide miscellaneous functions to reduce friction in most common data analysis tasks.

Installation

You can install the development version of zmisc from GitHub with:

# install.packages("devtools")
devtools::install_github("zawmtun/zmisc")

Example

This is a basic example which shows you how to solve a common problem of generating random unique IDs:

library(zmisc)
d <- data.frame(x = letters[1:3], y = 1:3, z = 4:6)
d1 <- uid_anonymise(d, id_vars = c("x"), char_num = 6)
uid_get_key(d1)
#>   unique_id x
#> 1    4dMaH8 a
#> 2    wQnr6Y b
#> 3    GuuP1T c
uid_get_data(d1)
#>   unique_id y z
#> 1    4dMaH8 1 4
#> 2    wQnr6Y 2 5
#> 3    GuuP1T 3 6

About

What the Package Does (One Line, Title Case)

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages