{
  "_id": "6a571158ff0138dec5d6d4b9",
  "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-07-15 04:45:58 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",
  "_user": "taylor-arnold",
  "_type": "src",
  "_file": "ctrialsgov_0.2.7.tar.gz",
  "_fileid": "https://r2.ropensci.org/ab82f184958d7bb25520eca23d5574806dc4d821e1da9fbe060323454f5f24ae",
  "_filesize": 3455029,
  "_sha256": "ab82f184958d7bb25520eca23d5574806dc4d821e1da9fbe060323454f5f24ae",
  "_expires": "2026-10-23T04:49:26.000Z",
  "_created": "2026-07-15T04:45:58.000Z",
  "_published": "2026-07-15T04:49:28.230Z",
  "_jobs": [
    {
      "job": 87270410788,
      "time": 167,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8332802703"
    },
    {
      "job": 87270410856,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8332797991"
    },
    {
      "job": 87270410806,
      "time": 90,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8332783894"
    },
    {
      "job": 87270410808,
      "time": 110,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8332788937"
    },
    {
      "job": 87269958286,
      "time": 218,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8332761853"
    },
    {
      "job": 87270410787,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8332791451"
    },
    {
      "job": 87270410849,
      "time": 96,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8332785698"
    },
    {
      "job": 87270410832,
      "time": 106,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8332787582"
    },
    {
      "job": 87270410828,
      "time": 96,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8332785566"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/taylor-arnold/actions/runs/29389612261",
  "_status": "success",
  "_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"
  },
  "_distro": "resolute",
  "_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": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "taylor-arnold",
      "count": 2,
      "uuid": 5752184
    }
  ],
  "_userbio": {
    "uuid": 5752184,
    "type": "user",
    "name": "Taylor Arnold",
    "followers": 338,
    "description": "Professor, Data Science & Statistics Faculty in Linguistics and Cognitive Sci. Director, @distant-viewing "
  },
  "_downloads": {
    "count": 332,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ctrialsgov"
  },
  "_searchresults": 34,
  "_rbuild": "4.6.1",
  "_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",
    "LICENSE",
    "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.5314789170422554,
  "_indexed": true,
  "_nocasepkg": "ctrialsgov",
  "_universes": [
    "taylor-arnold"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.7",
      "date": "2026-07-15T04:48:30.000Z",
      "distro": "resolute",
      "commit": "457304aba4eb4d382f2f109dfdf0d571c4ef0fb0",
      "fileid": "https://r2.ropensci.org/73d8da1c770af975e92544f52067f752ccb3ef23197138f31c9e27804011e8cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/taylor-arnold/actions/runs/29389612261"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.7",
      "date": "2026-07-15T04:48:19.000Z",
      "distro": "resolute",
      "commit": "457304aba4eb4d382f2f109dfdf0d571c4ef0fb0",
      "fileid": "https://r2.ropensci.org/393b81f56bad0e29b1dd7cb9c2e86f5d563f5f691f1283f0b1a9f29e0b433f60",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/taylor-arnold/actions/runs/29389612261"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.7",
      "date": "2026-07-15T04:47:27.000Z",
      "commit": "457304aba4eb4d382f2f109dfdf0d571c4ef0fb0",
      "fileid": "https://r2.ropensci.org/cadc277a10a834b4a8392d2339b0a77356b4ce3934f979d6268f852e1e76dd93",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/taylor-arnold/actions/runs/29389612261"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.7",
      "date": "2026-07-15T04:47:45.000Z",
      "commit": "457304aba4eb4d382f2f109dfdf0d571c4ef0fb0",
      "fileid": "https://r2.ropensci.org/4232c9f5b38ae4eb2f50f652fb7c66199f00862dd4752be340b1545dc4b264d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/taylor-arnold/actions/runs/29389612261"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.7",
      "date": "2026-07-15T04:48:16.000Z",
      "commit": "457304aba4eb4d382f2f109dfdf0d571c4ef0fb0",
      "fileid": "https://r2.ropensci.org/9b75063118ddfd7c8b686594ec54b3e67d573fdc27a0342e8b426832117b7998",
      "status": "success",
      "buildurl": "https://github.com/r-universe/taylor-arnold/actions/runs/29389612261"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.7",
      "date": "2026-07-15T04:47:14.000Z",
      "commit": "457304aba4eb4d382f2f109dfdf0d571c4ef0fb0",
      "fileid": "https://r2.ropensci.org/96bc672ade73241ad733c3214d7b7379d64fe3bd3d4f361836adde2f31c8ecf6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/taylor-arnold/actions/runs/29389612261"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.7",
      "date": "2026-07-15T04:47:23.000Z",
      "commit": "457304aba4eb4d382f2f109dfdf0d571c4ef0fb0",
      "fileid": "https://r2.ropensci.org/93e0a713065e0e6485e7f3a8f08ef5eb9f47f1dfafbecd01e70ceff40ca1763c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/taylor-arnold/actions/runs/29389612261"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.7",
      "date": "2026-07-15T04:47:16.000Z",
      "commit": "457304aba4eb4d382f2f109dfdf0d571c4ef0fb0",
      "fileid": "https://r2.ropensci.org/85d45d837f86e8cabe05acbb4f752ce8c57bad62ca08a95b8c38b17a47b63246",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/taylor-arnold/actions/runs/29389612261"
    }
  ]
}