Learn R Programming

OpenMindat (version 1.0.1)

ConvertDF2JsonLD: Output file as a given format

Description

Convert the mindat R dataframe to JSON-LD string

Usage

ConvertDF2JsonLD(inputdata,template = NULL)

Arguments

inputdata

R dataframe of retrieived data from Mindat database.

template

filepath to the template

Examples

Run this code
if (FALSE) {
df <-geomaterials_search_name("Quartz")
df_out <-ConvertDF2JsonLD(df)
}

Run the code above in your browser using DataLab