-
Notifications
You must be signed in to change notification settings - Fork 48
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
downloading metadata as json solves download issues #335
Comments
@januz, thanks for catching & fixing this. Holy cow that's a wide project. I'd like to include it in the test suite so the coverage isn't restricted to just the vanilla projects. Do you mind sharing the dictionary and generating a few rows of fake data? If so, created a dedicated folder in inst/test-data/ |
Thanks, @wibeasley! I sent you an email in response to your request. |
Hi - just an FYI I ran into this today with |
Thanks a lot, @datalorax! I'll need to include this condition to the test suite before I pull it into the master. Do you mind sharing the dictionary and generating a few rows of fake data? If so, created a dedicated folder in inst/test-data/. |
Hi @wibeasley, I will have to check with a few people to see if we can do that, but I think it shouldn't be a problem. I'll get back to you soon. |
Hey @wibeasley, would you be willing to add my fix to REDCapR? I have a few colleagues that would like to use REDCapR but can't because of the |
( I pulled into the wrong branch) ref #335
Hi @januz & @datalorax, thanks again for raising this issue and working on it.
|
Hi @wibeasley, sorry I didn't get to this today. I will try to get to testing it tomorrow. |
Hey @wibeasley, yes, your commit works with our project! As expected, I can download the data dictionary without a problem. To your points above:
Thanks so much for implementing this change! I'm happy to be able to get back to using (and recommending to use) your package instead of my fork. |
|
Thanks so much, @wibeasley! |
ref #335 zip file b/c it's too big for CRAN
Looks like you've got this covered now, but just popping back in to say it is working on my end now as well! Thanks so much. |
With a very large (over 35000 variables/fields) and complex project (bilingual setup with lots of HTML commands and Spanish characters in the field descriptions and answer alternatives), I ran into the
error. I assumed that it had to do with non-ascii characters like in other issues and tried to isolate the error. I was not successful as the root of the error already lies in the first step using
httr::POST
(the command executes successfully but results inNA
instead of comma-separated text.I experimented a bit and realized that I could successfully download the metadata when using
format = json
instead offormat = csv
. I have implemented an option to choosejson
as the download format inredcap_metadata_read()
in a fork of your repository: januz@518925cJust wanted to let you know in case you would like to include this option in your package as well. Thanks for all your great work with this package!
The text was updated successfully, but these errors were encountered: