This function generates Turtle (TTL) files for each sample listed
in the input excel_file, using SOSA/SSN, PROV-O, DCAT and related
vocabularies. For each generated TTL, a SHACL-like validation is
performed via specimen_validate_ttl(), and a per-file validation
tibble is returned.
Usage
specimen_ttl(
excel_file = NULL,
excel_curators = NULL,
excel_relation = NULL,
excel_sampler = NULL,
specimen_uuids = NULL,
root_dir = NULL,
creator_name = creator_name,
creator_surname = creator_surname,
creator_orcid = creator_orcid
)Arguments
- excel_file
A
tibblethat contains the columns present in the 'SpecimenInfo' sheet of the spreadsheet template.- excel_curators
A
tibblethat contains the columns present in the 'CuratorsInfo' sheet of the spreadsheet template.- excel_relation
A
tibblethat contains the columns present in the 'RelationInfo' sheet of the spreadsheet template.- excel_sampler
A
tibblethat contains the columns present in the 'SamplersInfo' sheet of the spreadsheet template.- specimen_uuids
A
characterthat contains a number of strings UUIDs equal to the number of samples present in the SpecimenInfo' sheet of the spreadsheet template.- root_dir
A
stringwith the path to the folder where the ttl and XML files will be written.
Value
A list of tibbles, each one being the validation result for a
single TTL file, as returned by specimen_validate_ttl().
Author
Alessandro Oggioni, phD (2023) oggioni.a@cnr.it