Zoey Jiang
Zoey Jiang
Hi @pwildenhain, I started to use PyCap to export records from our REDCap instance. I was running `data = project.export_records()` and it throw me the same JSONDecodeError described by @EdgarHSJD...
@pwildenhain thanks for your instruction. I tried adding `format_type` parameter but it returns the same error. Here are the codes I ran: ``` import redcap project = redcap.Project('url', 'token') data...
I also encountered the same error while running the Using-Capr.Rmd file. ``` > giBleedCohortJson assertCohortCompiles(ch) Error: unable to find an inherited method for function ‘as.json’ for signature ‘x = "Cohort"’...
Adding this to cohort.R file under Coerce section fixed the problem: ``` #' Coerce Capr object to json #' @param x the capr object #' @param pretty a toggle to...
@mdlavallee92 happy to support. I am still getting familiar with Capr but happy to learn/contribute more.