encrypt.data: Encrypt data from 'get.data' or 'is.get.fata.output'

Description Usage Arguments Details Value Author(s) See Also Examples

Description

encrypt.data encrypts data from get.data or is.get.fata.output

Usage

1
encrypt.data(data, germplasm_name = "germplasm", person_name = "person")

Arguments

data

output from get.data

germplasm_name

Name of the germplasms in the encrypted data. "germplasms" by default

person_name

Name of the persons an selection persons in the encrypted data. "persons" by default

Details

The following information is encrypted: person, year (from 2000), project, selection_person, reproduction_type, germplasm_type, germplasm and seed-lots

All query.type can be encrypt unless "species", "variable", "reproduction.type" and "methods"

The key is written in .RData format. To use it you should type load("key.RData").

Value

The function returns the data frame encrypted and writes in the work directory a file.RData with the key

Author(s)

Pierre Rivière

See Also

get.data, is.get.data.output

Examples

1
# See the vignette

priviere/shinemas2R_deprecated documentation built on May 8, 2019, 1:21 p.m.