ConvertDF2JsonLD {OpenMindat} | R Documentation |
Convert the mindat R dataframe to JSON-LD string
ConvertDF2JsonLD(inputdata,template = NULL)
inputdata |
R dataframe of retrieived data from Mindat database. |
template |
filepath to the template |
'ConvertDF2JsonLD()' returns a string written in Json-LD format converted from an input R data frame (df).
## Not run:
df <-geomaterials_search_name("Quartz")
df_out <-ConvertDF2JsonLD(df)
## End(Not run)