gen_fake_id: Export fake IDs

Description Usage Arguments Value Examples

Description

Export fake IDs

Usage

1
2
gen_fake_id(ids, path, key = c("p", "j"), .survey_id = NULL,
  .outurl = NULL, .etc1 = NA)

Arguments

ids

Real IDs.

path

.xlsx fake id file path to export.

key

Either "p" or "j" for fake IDs.

.survey_id

ISAS survey id.

.outurl

Survey URL provided by client.

.etc1

etc1 column value.

Value

NULL. Generate file at provided path.

Examples

1
2
3
4
5
6
7
8
## Not run: 
id_output %>>%
## Export pid
(~ gen_fake_id(., path, .survey_id = survey_id, .outurl = outurl)) %>%
## Export mail ids
  write_mail_list(mail_path)

## End(Not run)

leoluyi/EOLembrainToolbox documentation built on May 21, 2019, 5:08 a.m.