getExtension {OpenMindat}R Documentation

Output the file extension of a filename

Description

Convert the mindat R dataframe to JSON-LD string

Usage

getExtension (filename)

Arguments

filename

R dataframe of retrieived data from Mindat database.

Value

'getExtension()' returns a string which is the suffix string of a file name.

Examples

filename<- "fname.txt"
fname_extension<- getExtension(filename)

[Package OpenMindat version 1.0.0 Index]