crsra_anonymize: Anonymizes ID variables (such as Partner hashed user ids)...

Description Usage Arguments Value Examples

View source: R/crsra_anonymize.R

Description

This function will still keep the relationship between tables, i.e. it will change a specific id across all tables to the same id.

Usage

1
2
crsra_anonymize(all_tables,
  col_to_mask = attributes(all_tables)$partner_user_id, algorithm = "crc32")

Arguments

all_tables

A list from crsra_import_course or crsra_import

col_to_mask

The name of id column to mask.

algorithm

The algorithms to be used for anonymization; for currently available choices, see digest.

Value

A list that contains all the tables within each course.

Examples

1
2
3
res = crsra_anonymize(example_course_import,
col_to_mask = "jhu_user_id",
algorithm = "crc32")

crsra documentation built on May 2, 2019, 4:54 a.m.