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

clinicaltrials_download() doesn't download for more than 100 trials when count=NULL #26

Open
zgwjohn opened this issue Apr 24, 2021 · 0 comments

Comments

@zgwjohn
Copy link

zgwjohn commented Apr 24, 2021

I submit the code below to download all trials using keywords "platform trial", and every time it returns a warning:
y <- clinicaltrials_download(query = 'platform+trial', count = NULL, include_results = TRUE)

Error in (function (..., row.names = NULL, check.rows = FALSE, check.names = TRUE, : arguments imply differing number of rows: 0, 1

The same issue happens to clinicaltrials_search() function when I run the sample code:
clinicaltrials_search(query = 'lime+disease')
Error in (function (..., row.names = NULL, check.rows = FALSE, check.names = TRUE, : arguments imply differing number of rows: 1, 0

If I change the count=NULL to count=100, it runs smoothly.

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

No branches or pull requests

1 participant