mindat_make_data_frame: mindat_make_data_frame

View source: R/mindat_response_data_parse.R

mindat_make_data_frameR 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)

OpenMindat documentation built on June 8, 2025, 1:47 p.m.