Skip to contents

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

if (FALSE) {
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)
}