Skip to content

Releases: rfhb/ctrdata

ctrdata v1.20.0

14 Dec 12:14
Compare
Choose a tag to compare

Improvements

  • New function ctrShowOneTrial() to inspect a trial structure and data, and to select fields for dbGetFieldsIntoDf(); in this context, make ctrGetQueryUrl() work for identifiers of single trials
  • Improve and update documentation

Bug fix

  • Refactor dfTrials2Long to correct generating identifiers for single-item groups
  • Correct using certain testing conditions

ctrdata v1.19.5

10 Nov 17:22
Compare
Choose a tag to compare

Improvements

  • Refactored dbFindFields() for speed and efficiency
  • Adapted to newly available expert search in CTGOV2

Bug fix

  • Correct CTGOV2 endpoint for document downloads
  • Adapted to curl v6 having renamed the timeout parameter
  • Documents download (folders only for trials with documents; excluding duplicates)

ctrdata v1.19.4

29 Sep 18:14
Compare
Choose a tag to compare
  • Fix vignettes and update documentation website (pkgdown)
  • Make dbFindFields() more robust, specify scalar search fields to identify records

ctrdata v1.19.3

29 Sep 18:13
Compare
Choose a tag to compare

ctrdata v1.19.2

29 Aug 06:01
Compare
Choose a tag to compare

Improvements

  • Added typing for newly appearing variables in CTIS
  • Accelerated CTIS trial data processing

Bug fixes

  • Fix incomplete downloads from CTIS by disabling HTTP/2 multiplexing in another function

ctrdata v1.19.1

18 Jul 19:14
Compare
Choose a tag to compare

Improvements

  • Revised translation of location elements from search URL to API call for CTGOV2

ctrdata v1.19.0

30 Jun 14:50
Compare
Choose a tag to compare

Possibly breaking changes

  • CTGOV has retired on 2024-06-25 the classic website and API used by ctrdata since 2015. To support users, ctrdata now automatically translates and redirects queries to the current website. This helps with automatically updating previously loaded queries (ctrLoadQueryIntoDb(querytoupdate = <n>)), manually migrating queries and reproducible work on clinical trials information. This new functionality in ctrdata translates a user's search query URL from the classic website into a query for the current CTGOV website, for all search parameters. Since the structure and format of data differs between data retrieved from the current API and previously retrieved from the classic API, ctrdata will continue to identify the current API as register = "CTGOV2", to support the analysis stage. In addition, ctrdata documentation continues to include examples of analyses with CTGOV data, as this may have been downloaded earlier.

  • CTIS has been relaunched on 2024-06-17, and ctrdata has been fully updated to it. At the moment, CTIS provides basic searches and no search query URL. To support users, ctrdata includes an updated script that extracts a user's search parameters from the register search page to the clipboard and into the browser URL bar. In addition, the script triggers a search for trials when opening such a query URL, see https://rfhb.github.io/ctrdata/#id_2-script-to-automatically-copy-users-query-from-web-browser. File names of CTIS documents start now with the document type, e.g. SbjctInfaICF - L1 SIS and ICF NL for publication.pdf, since the prefix (document source) introduced in version 1.18.0 is no more applicable.

Improvements

  • Reduced size of demo database in package, addressing CRAN notes
  • Adapted ctrFindActiveSubstanceSynonyms() to CTGOV2 API; this is now based on terms used in studies
  • Updated vignette and added inspecting a specific trial
  • Updated register information, adding caveats and issues
  • Updated estimated download sizes and user information
  • Avoided duplicate data and file retrievals
  • New attribute ctrdata-collection for data frames with trial information; same content as attribute ctrdata-table, which will be removed by end 2024
  • Split utils.R into files for functions and fields

Bug fixes

  • Correct partial date brackets for CTGOV2
  • Disable HTTP/2 multiplexing for CTIS

ctrdata v1.18.0

14 May 06:33
Compare
Choose a tag to compare

Possibly breaking change

  • File names for documents downloaded from CTIS now include the document type and use different separators (e.g., "parts2auth - SbjctInfaICF - ..." as abbreviation of "Subject information and informed consent form (for publication)", was previously "parts2auth_...")

Improvements

  • Add retrieval of historic versions of trial records from CTGOV2 (automatically retrieved from CTIS, not available for other registers)
  • Added typing of newly appearing fields from CTIS
  • Increase testing coverage to 93.7% locally
  • Added missing CI for the combination of DuckDB and CTGOV2

Bug fixes

  • Correct typing certain fields as (lists of) integers
  • Handle marginal case in dbGetFieldsIntoDf()
  • Changed unlink of intermediate files
  • Minor vignettes corrections

ctrdata v1.17.2

25 Feb 12:52
Compare
Choose a tag to compare

Bug fixes

  • Switch sequence of API endpoints used with CTIS
  • Correct handling multiple public events with CTIS
  • Re-use CTIS downloads in a given session

ctrdata v1.17.1

05 Feb 20:55
Compare
Choose a tag to compare

Improvements

  • Additional CTIS field types and possibly documents (associated clinical trials)
  • Use ctId instead of id as CTIS top-level field (a further synonym used in the API is clinicalTrialId)

Bug fixes

  • Added handling of unexpected Unicode in protocol-related data from one trial in EUCTR
  • Improved predicted download sizes and times for EUCTR
  • Return with message if CTIS query did not result in any trials