Learn R Programming

ctrdata (version 1.5.2)

dbCTRLoadJSONFiles: dbCTRLoadJSONFiles

Description

dbCTRLoadJSONFiles

Usage

dbCTRLoadJSONFiles(dir, con, verbose)

Arguments

dir

Path to local directory with JSON files from downloading and converting

con

A src connection object, as obtained with nodbi::src_mongo() or nodbi::src_sqlite()

verbose

Printing additional information if set to TRUE; default is FALSE.

Value

List with elements n (number of imported trials), _id's of successfully imported trials and _id's of trials that failed to import