Skip to content

Utilities for Interacting with the 'CTX' APIs

1packages depend
9.8Kdownloads / year
66.5%test coverage
13/13flavors OK

Overview

About

Access chemical, hazard, bioactivity, and exposure data from the Computational Toxicology and Exposure ('CTX') APIs https://www.epa.gov/comptox-tools/computational-toxicology-and-exposure-apis. 'ctxR' was developed to streamline the process of accessing the information available through the 'CTX' APIs without requiring prior knowledge of how to use APIs. Most data is also available on the CompTox Chemical Dashboard ('CCD') https://comptox.epa.gov/dashboard/ and other resources found at the EPA Computational Toxicology and Exposure Online Resources https://www.epa.gov/comptox-tools.

Changes in 1.1.3

Major improvements and fixes

  • Update api host from cloud.gov to local server throughout package (#70)

New Features

  • Added functions for the Exposure domain CCD endpoints get_product_use_category(),

get_product_use_categories_batch(), get_production_volume(),

get_production_volume_batch(), get_biomonitoring_data(), get_biomonitoring_data_batch(),

get_general_use_keywords(), get_general_use_keywords_batch(), get_reported_functional_use(),

get_reported_functional_use_batch(), get_chemical_weight_fraction(), and

get_chemical_weight_fraction_batch() (#71).

  • Added functions for Exposure domain MMDB endpoints get_medium_categories(),

get_single_sample_records_by_dtxsid(), get_single_sample_records_by_dtxsid_batch(),

get_single_sample_records_by_medium(), get_single_sample_records_by_medium_batch(),

Show all changes in 1.1.3Hide the rest of the changes in 1.1.3

get_aggregate_records_by_dtxsid(), get_aggregate_records_by_dtxsid_batch(),

get_aggregate_records_by_medium(), get_aggregate_records_by_medium_batch() (#71).

  • Added examples to ctxR_04_Exposure.Rmd vignette for new CCD and MMDB endpoint

functions (#71).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.7 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1.3
READMEYes · 331 wordsVignettesYes · 5 · evaluation depends on the environmentNEWSYes · 100% structured · mentions 1.1.3Citation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
128 (7 internal)
Examples that run
100%121 run in a plain check (121 of them under a condition)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

9.8K
CRAN downloads in the past year
Rank #4,930 · ~27/day · ~819/mo
Daily download trend is not available in this view yet.
60830 days
1.7K90 days
9.8K1 year
Compare downloads with other packages →
Also on102 r2u15 autocran1.1K conda_forge

Repository

usepa/ctxr ↗Organization: USEPA
23Stars
11Forks
7Open issues
1Open PRs
5Releases
1,141Commits
6Commit identities
comptoxccteordapictxresearch
License file reads as GPL-3.0 · 1,141 commits · Last activity 2026-10-09 · 0% stars, 30d · Default branch at 1.1.3.9000, ahead of CRAN 1.1.3 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
98%
Median days to close, 50 most recently updated closed issues
12
Median days to close, 50 most recently updated closed PRs
4

Stars over time

2025-09-08 · 152026-09-18 · 23
PracticesBeta

10 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/usepa/ctxr on 2026-10-18.

Continuous integration (1)
GitHub Actions
Governance and community (1)
Contributing guide
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-09 · The repository has a site deploy workflow

pkgdown site last built 2024-08-05, before release 1.1.3 (2025-10-08)

CRAN release process (3)
cran-comments.mdrevdep/CRAN-SUBMISSION
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
25 external dependencies (excludes base and recommended)

Installing ctxR adds 31 packages (22 with compiled code, 28 MB of source tarballs). Heaviest: stringi 11 MB, data.table 5.7 MB, Rcpp 1.8 MB.

Depends (1)
R >= 3.5
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (6)
Contributor, Maintainer since 1.1.2 (2025)
Author
Contributor
Contributor · added in 1.1.3
Contributor

Previously maintained by Jason Brown (1.1.1) and Paul Kruse (1.0.0 to 1.1.0).

Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.3Latest
    record
    2025-10-08 · current release · diff ↗ ·
    added 26 exports
    get_aggregate_records_by_dtxsid, get_aggregate_records_by_dtxsid_batch, get_aggregate_records_by_medium, get_aggregate_records_by_medium_batch, get_biomonitoring_data, get_biomonitoring_data_batch, get_chem_props_exp, get_chem_props_exp_batch, get_chem_props_pred, get_chem_props_pred_batch, get_chem_props_summary, get_chemical_weight_fraction, get_chemical_weight_fraction_batch, get_general_use_keywords, get_general_use_keywords_batch, get_medium_categories, get_product_use_categories_batch, get_product_use_category, get_production_volume, get_production_volume_batch, get_reported_functional_use, get_reported_functional_use_batch, get_single_sample_records_by_dtxsid, get_single_sample_records_by_dtxsid_batch, get_single_sample_records_by_medium, get_single_sample_records_by_medium_batch
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.2
    record
    2025-04-07 · diff ↗
  • 1.1.1
    record
    2025-04-02 · diff ↗
  • 1.1.0
    record
    2025-01-08 · diff ↗ ·
    added 15 exports
    check_existence_by_dtxsid, check_existence_by_dtxsid_batch, get_all_list_types, get_chemicals_in_list_contain, get_chemicals_in_list_contain_batch, get_chemicals_in_list_exact, get_chemicals_in_list_exact_batch, get_chemicals_in_list_start, get_chemicals_in_list_start_batch, get_demographic_exposure_prediction, get_demographic_exposure_prediction_batch, get_general_exposure_prediction, get_general_exposure_prediction_batch, get_httk_data, get_httk_data_batch
  • 1.0.0
    record
    2024-07-04
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-07-04
Total releases
5 / 2 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.5
Bundled data
0.5 KB / 4 files
Download size
4.5 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("ctxR")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1016/j.namjnl.2025.100031.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for ctxR version 1.1.3 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy