metadata
license: cc-by-4.0
pretty_name: TrialDesignBench Source
configs:
- config_name: default
data_files:
- split: train
path: data/tdr.csv
TrialDesignBench Source
CSV index of clinical trials with linked protocol and SAP PDFs under documents/<row_id>/.
Bulk download from AACT
download_ctgov_prot_sap.py downloads protocol and SAP PDFs in bulk from an AACT static dataset dump. It reads <aact_dir>/provided_documents.txt and saves each PDF to documents/<nct_id>/<original-filename>.pdf.
pip install pandas requests tqdm
python download_ctgov_prot_sap.py /path/to/aact_pipe_delimited_dump
Useful flags: --output-dir, --limit N, --full (re-download existing), --include-icf (also fetch ICF-only rows).
Example output (already in documents/):
documents/NCT03254108/Prot_000.pdf,documents/NCT03254108/SAP_001.pdf— separate protocol and SAPdocuments/NCT03521102/Prot_SAP_001.pdf— combined protocol + SAP