saveMindatDataAs {OpenMindat}R Documentation

Output file as a given format

Description

Save the mindat R dataframe to a specify format

Usage

saveMindatDataAs (inputdata,outputfname)

Arguments

inputdata

R dataframe of retrieived data from Mindat database.

outputfname

string. the output file name.

Value

No return value.If successful, the input data frame(df) will be saved to the specified file. Otherwise, it will report an error.

Examples

## Not run: 
df <-geomaterials_search_name("Quartz")
saveMindatDataAs(df,"test.jsonld")

## End(Not run)

[Package OpenMindat version 1.0.0 Index]