validate_personnel: Validate the personnel template

View source: R/validate_templates.R

validate_personnelR Documentation

Validate the personnel template

Description

Validate the personnel template

Usage

validate_personnel(x)

Arguments

x

(list) The data and metadata object returned by template_arguments().

Details

Checks performed by this function:

  • Personnel template is not empty

  • Template column names are correct

  • At least one creator and contact is listed

  • All personnel have roles

  • Principal investigator is present

  • Project information is present

  • Only one publisher is listed

Checks are grouped by required and optional criteria. If any required checks fail, then the entire template is removed from x.

Value

issues

(character) Descriptions of issues found in the template

x

(list) A potentially modified x if relevant issues were found


EDIorg/EMLtools documentation built on Nov. 1, 2022, 9:38 a.m.