{
  "_id": "6a1d6a521d7bb097a0a4f278",
  "Package": "ctrialsgov",
  "Type": "Package",
  "Title": "Query Data from U.S. National Library of Medicine's Clinical\nTrials Database",
  "Version": "0.2.7",
  "Authors@R": "c(\nperson(given = \"Taylor\",\nfamily = \"Arnold\",\nemail = \"tarnold2@richmond.edu\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"http://orcid.org/0000-0003-0576-0669\")),\nperson(given = \"Auston\",\nfamily = \"Wei\",\nemail = \"awei@telperian.com\",\nrole = c(\"aut\")),\nperson(given = \"Michael J.\",\nfamily = \"Kane\",\nemail = \"michael.kane@yale.edu\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"http://orcid.org/0000-0003-1899-6662\")))",
  "Maintainer": "Taylor Arnold <tarnold2@richmond.edu>",
  "Description": "Tools to create and query database from the U.S. National\nLibrary of Medicine's Clinical Trials database\n<https://clinicaltrials.gov/>. Functions provide access a\nvariety of techniques for searching the data using range\nqueries, categorical filtering, and by searching for full-text\nkeywords.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "LazyDataCompression": "bzip2",
  "Config/testthat/edition": "3",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-01 11:09:38 UTC",
    "User": "root"
  },
  "Author": "Taylor Arnold [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-0576-0669>), Auston Wei [aut],\nMichael J. Kane [aut] (ORCID:\n<https://orcid.org/0000-0003-1899-6662>)",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://taylor-arnold.r-universe.dev",
  "Date/Publication": "2025-07-06 20:30:02 UTC",
  "RemoteUrl": "https://github.com/cran/ctrialsgov",
  "RemoteRef": "HEAD",
  "RemoteSha": "457304aba4eb4d382f2f109dfdf0d571c4ef0fb0",
  "MD5sum": "9623fdc0030d38dbe8dd85e5cae1bc29",
  "_user": "taylor-arnold",
  "_type": "src",
  "_file": "ctrialsgov_0.2.7.tar.gz",
  "_fileid": "fbb3b925952c96c0be3a88248f9e6449f4433a7011e9de4687d53a50823445ec",
  "_filesize": 3454209,
  "_sha256": "fbb3b925952c96c0be3a88248f9e6449f4433a7011e9de4687d53a50823445ec",
  "_created": "2026-06-01T11:09:38.000Z",
  "_published": "2026-06-01T11:17:38.552Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78839609574,
      "time": 154,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7329956341"
    },
    {
      "job": 78839609665,
      "time": 153,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7329956097"
    },
    {
      "job": 78839609740,
      "time": 303,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7330028184"
    },
    {
      "job": 78839609565,
      "time": 160,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7329966355"
    },
    {
      "job": 78839023465,
      "time": 227,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7329908630"
    },
    {
      "job": 78839609515,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7329947516"
    },
    {
      "job": 78839609664,
      "time": 97,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7329939554"
    },
    {
      "job": 78839609527,
      "time": 96,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7329939650"
    },
    {
      "job": 78839609625,
      "time": 97,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7329939067"
    }
  ],
  "_buildurl": "https://github.com/r-universe/taylor-arnold/actions/runs/26751093001",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/ctrialsgov",
  "_commit": {
    "id": "457304aba4eb4d382f2f109dfdf0d571c4ef0fb0",
    "author": "Taylor Arnold <tarnold2@richmond.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.7\n",
    "time": 1751833802
  },
  "_maintainer": {
    "name": "Taylor Arnold",
    "email": "tarnold2@richmond.edu",
    "login": "taylor-arnold",
    "description": "Professor, Data Science & Statistics Faculty in Linguistics and Cognitive Sci. Director, @distant-viewing ",
    "uuid": 5752184,
    "orcid": "0000-0003-0576-0669"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "DBI",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "usethis",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-27",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.7",
      "date": "2025-07-06"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "taylor-arnold",
      "count": 2,
      "uuid": 5752184
    }
  ],
  "_userbio": {
    "uuid": 5752184,
    "type": "user",
    "name": "Taylor Arnold",
    "description": "Professor, Data Science & Statistics Faculty in Linguistics and Cognitive Sci. Director, @distant-viewing "
  },
  "_downloads": {
    "count": 230,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ctrialsgov"
  },
  "_searchresults": 30,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ctrialsgov.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_realowner": "taylor-arnold",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2.5",
      "date": "2021-10-18"
    },
    {
      "version": "0.2.7",
      "date": "2025-07-06"
    }
  ],
  "_exports": [
    "ctgov_create_data",
    "ctgov_get_schema",
    "ctgov_kwic",
    "ctgov_load_cache",
    "ctgov_load_sample",
    "ctgov_query",
    "ctgov_query_terms",
    "ctgov_schema",
    "ctgov_set_schema",
    "ctgov_text_similarity",
    "ctgov_tfidf",
    "has_term"
  ],
  "_datasets": [
    {
      "name": "cancer_studies",
      "title": "Sample of Industry Cancer Trials from 2021",
      "object": "cancer_studies",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "nct_id",
        "start_date",
        "phase",
        "enrollment",
        "brief_title",
        "official_title",
        "primary_completion_date",
        "study_type",
        "rec_status",
        "completion_date",
        "last_update",
        "description",
        "eudract_num",
        "other_id",
        "allocation",
        "intervention_model",
        "observational_model",
        "primary_purpose",
        "time_perspective",
        "masking_description",
        "intervention_model_description",
        "sampling_method",
        "gender",
        "minimum_age",
        "maximum_age",
        "population",
        "criteria",
        "sponsor",
        "sponsor_type",
        "conditions",
        "interventions",
        "outcomes"
      ],
      "rows": 239,
      "table": false,
      "tojson": true
    },
    {
      "name": "tbl_join_sample",
      "title": "Sample Clinical Trials Dataset",
      "object": "tbl_join_sample",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "nct_id",
        "start_date",
        "phase",
        "enrollment",
        "brief_title",
        "official_title",
        "primary_completion_date",
        "study_type",
        "rec_status",
        "completion_date",
        "last_update",
        "description",
        "eudract_num",
        "other_id",
        "allocation",
        "intervention_model",
        "observational_model",
        "primary_purpose",
        "time_perspective",
        "masking_description",
        "intervention_model_description",
        "sampling_method",
        "gender",
        "minimum_age",
        "maximum_age",
        "population",
        "criteria",
        "sponsor",
        "sponsor_type",
        "conditions",
        "interventions",
        "outcomes"
      ],
      "rows": 3074,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cancer_studies",
      "title": "Sample of Industry Cancer Trials from 2021",
      "topics": [
        "cancer_studies"
      ]
    },
    {
      "page": "ctgov_create_data",
      "title": "Initialize the connection",
      "topics": [
        "ctgov_create_data"
      ]
    },
    {
      "page": "ctgov_kwic",
      "title": "Keywords in Context",
      "topics": [
        "ctgov_kwic"
      ]
    },
    {
      "page": "ctgov_load_cache",
      "title": "Download and/or load cached data",
      "topics": [
        "ctgov_load_cache"
      ]
    },
    {
      "page": "ctgov_load_sample",
      "title": "Load sample dataset",
      "topics": [
        "ctgov_load_sample"
      ]
    },
    {
      "page": "ctgov_query",
      "title": "Query the ClinicalTrials.gov dataset",
      "topics": [
        "ctgov_query"
      ]
    },
    {
      "page": "ctgov_query_terms",
      "title": "Query the ClinicalTrials.gov dataset",
      "topics": [
        "ctgov_query_terms"
      ]
    },
    {
      "page": "ctgov_schema",
      "title": "Get and Set the Default Schema",
      "topics": [
        "ctgov_get_schema",
        "ctgov_schema",
        "ctgov_set_schema"
      ]
    },
    {
      "page": "ctgov_text_similarity",
      "title": "Similarity Matrix",
      "topics": [
        "ctgov_text_similarity"
      ]
    },
    {
      "page": "ctgov_tfidf",
      "title": "TF-IDF Keywords",
      "topics": [
        "ctgov_tfidf"
      ]
    },
    {
      "page": "has_term",
      "title": "Does a Term Appear in a Vector of Strings?",
      "topics": [
        "has_term"
      ]
    },
    {
      "page": "tbl_join_sample",
      "title": "Sample Clinical Trials Dataset",
      "topics": [
        "tbl_join_sample"
      ]
    }
  ],
  "_readme": "https://github.com/cran/ctrialsgov/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "DBI",
    "dplyr",
    "generics",
    "glue",
    "lattice",
    "lifecycle",
    "lubridate",
    "magrittr",
    "Matrix",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "tibble",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to the ctrailsgov Package",
      "author": "Taylor Arnold and Michael J Kane",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Create the Data",
        "Querying the Data"
      ],
      "created": "2021-10-18 15:00:02",
      "modified": "2025-07-06 20:30:02",
      "commits": 2
    },
    {
      "source": "text_analysis.Rmd",
      "filename": "text_analysis.html",
      "title": "Text Analysis with the ctrailsgov Package",
      "author": "Taylor Arnold and Michael J Kane",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Setup",
        "Keywords in Context",
        "TF-IDF",
        "Document Similarity"
      ],
      "created": "2021-10-18 15:00:02",
      "modified": "2021-10-18 15:00:02",
      "commits": 1
    }
  ],
  "_score": 3.4771212547196626,
  "_indexed": true,
  "_nocasepkg": "ctrialsgov",
  "_universes": [
    "taylor-arnold"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.7",
      "date": "2026-06-01T11:12:01.000Z",
      "distro": "noble",
      "commit": "457304aba4eb4d382f2f109dfdf0d571c4ef0fb0",
      "fileid": "42e5c00b0de09c4a7af34a075400ed203f16a8554cfe3dcf2436648a8112110b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/taylor-arnold/actions/runs/26751093001"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.7",
      "date": "2026-06-01T11:12:02.000Z",
      "distro": "noble",
      "commit": "457304aba4eb4d382f2f109dfdf0d571c4ef0fb0",
      "fileid": "e88b1bfe77890df755ced53deddb0e3ce284fc15f31b5e5357d235a864d1e2cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/taylor-arnold/actions/runs/26751093001"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.7",
      "date": "2026-06-01T11:15:50.000Z",
      "commit": "457304aba4eb4d382f2f109dfdf0d571c4ef0fb0",
      "fileid": "15979ef2ab94e496700ba28bc2b1fb90896ebea4f557002f202fdaeb7a1838dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/taylor-arnold/actions/runs/26751093001"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.7",
      "date": "2026-06-01T11:12:41.000Z",
      "commit": "457304aba4eb4d382f2f109dfdf0d571c4ef0fb0",
      "fileid": "c71ecb25d7554e41158ad689546ab3831948ac5be01199287e4be9ed17a5b68c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/taylor-arnold/actions/runs/26751093001"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.7",
      "date": "2026-06-01T11:12:03.000Z",
      "commit": "457304aba4eb4d382f2f109dfdf0d571c4ef0fb0",
      "fileid": "eed55c635a93d4de2926823017005b67746367aeaca261aa7c5a8208191325d3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/taylor-arnold/actions/runs/26751093001"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.7",
      "date": "2026-06-01T11:11:01.000Z",
      "commit": "457304aba4eb4d382f2f109dfdf0d571c4ef0fb0",
      "fileid": "4be870ea83c197d99b94dea7890315f3434e358182177b12a7a2a87b7cc69fb4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/taylor-arnold/actions/runs/26751093001"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.7",
      "date": "2026-06-01T11:11:01.000Z",
      "commit": "457304aba4eb4d382f2f109dfdf0d571c4ef0fb0",
      "fileid": "3978176933f83a738e088ef247f809f21b9e0eefc91933858d1501ade57bcb07",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/taylor-arnold/actions/runs/26751093001"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.7",
      "date": "2026-06-01T11:10:57.000Z",
      "commit": "457304aba4eb4d382f2f109dfdf0d571c4ef0fb0",
      "fileid": "19a0fe21a7e6b2344fefa6f22694edc84ee7b979d3e6babb0217fa34f57c3e30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/taylor-arnold/actions/runs/26751093001"
    }
  ]
}