You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix for Issue sachsmc#12:
gather_results expected complete values for baseline/measure_list in
XML file, which isn’t necessarily there. Trapped missing value.
Fixed Issue sachsmc#14: In clinicaltrials_download, number of downloaded files
can be shorter than the list of NCT numbers submitted in a tframe
(e.g., where bad NCT IDs are introduced from an external source). The
expected number of files was a list the same length as the submitted
NCT IDs in tframe. Omitted missing values.
The line throwing this error is line 56 in gather_results.R:
measures <- parsed[["//baseline/measure_list"]]
An NCT ID throwing this error is NCT01602016. There are no baseline measures because the study was terminated early. So, the attempt to use an array reference with the parsed dataframe fails with the subscript out of bounds error, as that subscript doesn't exist. I'm submitting a pull request #17 to trap this error.
Hello,
An issue came up. When I use this query the function breaks and returns a subscript out of bounds error.
breast_list <- clinicaltrials_download(query=c('cond=breast cancer', 'intr=drug','locn=USA'),
count = NULL, include_results = TRUE,
include_textblocks=TRUE)
Is it related to volume? It is 5K+ trials Im trying to retrieve.
The text was updated successfully, but these errors were encountered: