mindat_make_data_frame {OpenMindat}R Documentation

mindat_make_data_frame

Description

convert the response json to dataframe of R

Usage

mindat_make_data_frame (reg_list)

Arguments

reg_list

response json data to list format obj.

Value

df_out, R data frame

Examples

## Not run: 
id<- c('42155','9300','11282','48322')
name<-  c('Cuarzo opalescente', 'Cupromagnesite', 'Cuprozippeite', 'Quartz-anorthosite')
ima_status <- c(0,0,0,0)
synid <- c(42133, 9281, 0, 0)
list_cvt <- list(id=id, name=name, ima_status=ima_status, synid=synid)
df<- mindat_make_data_frame(list_cvt)

## End(Not run)

[Package OpenMindat version 1.0.0 Index]