Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package to anonymize IDs #12

Open
luizaandrade opened this issue Sep 26, 2024 · 1 comment
Open

Package to anonymize IDs #12

luizaandrade opened this issue Sep 26, 2024 · 1 comment

Comments

@luizaandrade
Copy link
Contributor

The anonymizer package seems to be a good resource for this. I have never used it, though, so you should do some more research if you want to use it.

@luizaandrade
Copy link
Contributor Author

Actually, that is no longer in CRAN. Here's some code:

library(uuid)
library(tidyverse)

data <-
  data.frame(
    name = c("luiza", "luiza", "raghu", "rosanna")
  ) %>%
  mutate(
    uuid = UUIDfromName(
      namespace = "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
      name = name
    )
  )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant