Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exportBulkRecords() Pulling forms that do not exist #404

Open
zbudesa opened this issue Jul 16, 2024 · 3 comments
Open

exportBulkRecords() Pulling forms that do not exist #404

zbudesa opened this issue Jul 16, 2024 · 3 comments
Labels

Comments

@zbudesa
Copy link

zbudesa commented Jul 16, 2024

I am having an issue where using the exportBulkRecords() function is pulling data that is mostly blank as part of the export. When checking that combination of record, event, and form, the form itself is completely blank (no data entered and the indicator on REDCap is clear/empty and the "complete" indicator says the form is incomplete. I have not found any logic or pattern which seems to govern these. Using in fairly complex project, but happens when only a single form in in the event.

@spgarbet spgarbet added the bug label Jul 17, 2024
@spgarbet
Copy link
Member

Is there a checkbox on this form perhaps?

@zbudesa
Copy link
Author

zbudesa commented Jul 17, 2024

The form does have check boxes. This has only recently become a problem after updating the package, as well.

@spgarbet
Copy link
Member

Okay, this is complex and a work in progress on that issue. The root problem is that a checkbox always has a value. If one filters rows out of a result set by whether it has any values or not, checkboxes always pop out as having value. Thus the empty rows you see are technically by definition correct because they contain values for the simple fact they have a checkbox. Issues #5, #349 and draft PR #403 all relate to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants