This json-ld template is used to store metadata information commonly used to describe optical spectroscopy measurements including FTIR, UV-vis, Raman, and Fluorescence spectroscopies. It includes some key meta information such as material type, wavelength, and intensity. More detailed structure is shown below.
library(FAIRmaterials)
# An example data frame for Optical Spectroscopy
# FTIR spectroscopy example from PMMA samples
<- data.frame(
FTIR_example 'wavelength' = c('649.57', '2650.5'),
'spc' = c('0.019966', '0.00315458'),
'SampleMaterial' = c('UVT', 'FF1'),
'SamplePhase' = c('solid', 'solid'),
'sampleID' = c('sa17435', 'sa17559')
)
# This will generate JSON-LD file for the example data
<- fairify_data(FTIR_example, domain = 'OpticalSpectroscopy', saveLocal = TRUE) output
Optical Spectroscopy schema diagram