ConvertDF2JsonLD {OpenMindat}R Documentation

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

Value

'ConvertDF2JsonLD()' returns a string written in Json-LD format converted from an input R data frame (df).

Examples

## Not run: 
df <-geomaterials_search_name("Quartz")
df_out <-ConvertDF2JsonLD(df)

## End(Not run)

[Package OpenMindat version 1.0.0 Index]