a secure web application for building and managing online surveys and databases. While REDCap can be used to collect virtually any type of data in any environment, it is specifically geared to support online and offline data capture for research studies and operations. Use this tag when developing a REDCap project, developing a REDCap External Module, or exchanging data through its API. https://www.project-redcap.org/
Questions tagged [redcap]
119 questions
0
votes
1 answer
How to fix REDCap API request which returns 403 with Javascript but works with other languages
SOLUTION:
function REDCapImportRecord() {
const url = 'https://redcap.INSTITUTION.edu/api/'
const testdata = [{
record_id: 'TEST123456',
testfield: 'test'
}]
const body = new FormData();
body.append('token', 'MYTOKEN');
…

Nadir Bilici
- 41
- 4
0
votes
1 answer
How to count repeated events per id
I have a dataframe that I pulled from REDCap, I have imported the CSV in RStudio.
unique participant id's are listed and then events. I need to list the number of each repeated event, for example acute_event_infect_arm_4 for 1010002 is the first…
user8722680
0
votes
1 answer
REDCap database calculating average for a field in different records
My question is very straightforward.
I would like to add some functions in my database to return results directly with data entry.
In order to do that, I need to be able to use AVG and SUM SQL functions. Is that possible with the REDCap system?

Chronis Kemos
- 1
- 2
0
votes
2 answers
How can i arrange data array from API request into HTML SELECT OPTION LIST?
I got a piece of PHP code from a website API to retrieve the data and i would like the data array to be arranged in a select option drop down menu. How can i do that? Below is the code provided by the web:
…

Les88
- 35
- 1
- 6
0
votes
1 answer
Using REDCap API in android keeps getting 403
I have a REDCap project complete setup on Redcap console .
API token generated .
Record saving working from REDCap .
Also from browser tool.
But when I call it from Android App it returns 403 forbidden .
is there anything like set permission for a…

Snehil Chouhan
- 109
- 8
0
votes
1 answer
running curl on ruby on rails
I have a rails application where a user can create the tickets.
Name of My application: tickets
a user has to submit some information to create the ticket (name, seat_id, address, price, email).
when the user click on the Create button. It creates…

Mohammad Shahbaz
- 403
- 8
- 28
0
votes
4 answers
To hide a div on Page Load using Jquery
I have some div in my code as mentioned below. Through Jquery I want to hide div having class="redCategory redCap vertical". My Jquery code to hide
div is $(".redCap").hide(); but after page load div is not getting hidden. What should be Jquery?…

user4956321
- 313
- 1
- 3
- 15
0
votes
1 answer
RCurl postform taking very long time with large datasets
require(RCurl)
RAW.API <- postForm(REDcap.URL, token=Redcap.token, content="record",
type="flat", format="csv", rawOrLabel="Label",
.opts=curlOptions(ssl.verifypeer=TRUE, cainfo=REDCap.crt,
verbose=FALSE))
data <- …

Moses Nderitu
- 1
- 1
- 3
-1
votes
1 answer
Only Having a Pop-up After All Questions Are Answered
I have three Y/N questions in my REDCap survey and I'm trying to make it so that if they say no to any of the three questions, a pop-up shows after they fill out all of the three questions. Is there any way to do this without having to use branching…

Alice
- 1
-1
votes
2 answers
REDCap - reporting data back to user
I'm looking for a simple solution for a cooperative project where specimens will be mailed to me, and I would report several measurements back to the sender.
I need the originating site to fill out a form with some basic information (specimen ID,…

Michal J Figurski
- 1,262
- 1
- 11
- 18
-2
votes
1 answer
In Need of Recommendations for More Efficient Way to Write Conditional Branching Logic Involving Checkbox Fields
I know that conditional logic involving checkbox fields is different than that of multiple choice radio button (single answer) fields as each choice in checkbox fields is a separate variable. I am trying to write conditional branching logic for…
-2
votes
2 answers
Questions with Regard to Organizing Checkbox (Multiple Answers) Choices into Two Columns
In my REDCap project, I have a checkboxes (multiple answers) field with numerous choices. The list of choices is rather long, and I was wondering if it were possible to break down the list of choices into two separate columns. Any input regarding…
-2
votes
1 answer
Creating REDCap database for cancer with high recurrence rate
I am trying to create a database that will store information on about 200 patients with a rare type of cancer over the course of many years. After I create the database, students will be inputting information from the clinical files into the…

Erin Dwyer
- 7
- 2
-2
votes
2 answers
How to get data from another project in REDCap
I create a new project in REDCap and I need to add a new record and get record about the first name and last name from another project. How can I do it?

Uliya
- 1