Skip to content

elastic

1.2.2Package record

Database Interface to 'Elasticsearch' and 'OpenSearch'

0packages dependsuggested by 2
18.4Kdownloads / year
2.1%test coverage
8/13flavors OK

Overview

About

Connect to 'Elasticsearch' and 'OpenSearch', 'NoSQL' databases built on the 'Java' Virtual Machine and using the 'Apache' 'Lucene' library. Interacts with the 'Elasticsearch' 'HTTP' API' (https://www.elastic.co/elasticsearch/) and the 'OpenSearch' 'HTTP' 'API' (https://opensearch.org/). Includes functions for setting connection details to 'Elasticsearch' and 'OpenSearch' instances, loading bulk data, searching for documents with both 'HTTP' query variables and 'JSON' based body requests. In addition, 'elastic' provides functions for interacting with APIs for 'indices', documents, nodes, clusters, an interface to the cat API, and more.

Changes in 1.2.2
  • new maintainer
  • fixed minor issues of some functions for recent OpenSearch and Elasticsearch versions
  • fixed some tests and CI testing (Elasticsearch 8 and 9, OpenSearch 2 and 3)

From NEWS.md in the release

Install

Health

CRAN checks
5NOTE8OK
Check messages
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names:
  elastic/tests/testthat/test-docs_bulk_prep.R (.Names: 2)
'.Names' should be changed to 'names'.

CRAN check page ↗

Slowest check: 1.9 min · r-oldrel-windows-x86_64
Status changes
  • NOTE8 OK, 5 NOTENow
  • NOTE11 OK, 2 NOTE2026-07-16
  • OK14 OK2026-03-10
Advisories

none known

Documentation

Documentation signals are not tracked yet for this package.

Downloads

18.4K
CRAN downloads in the past year
Rank #4,487 · ~50/day · ~1.5K/mo
elastic
Daily download trend is not available in this view yet.
72730 days
1.9K90 days
18.4K1 year
Compare downloads with other packages →
Also on500 r2u2 autocran124 c2d4u

Repository

1Stars
0Forks
0Open PRs
1Releases
884Commits
19Commit identities
884 commits · Last activity 2026-01-26 · 0% stars, 30d · Default branch at 1.2.2.9000, ahead of CRAN 1.2.2 (checked 2026-10-11)
Responsiveness
not measured
PracticesBeta

13 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/rfhb/elastic on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (3)
Contributing guideIssue templatesPR template
Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-01-26

pkgdown site last built 2026-01-26

Reproducibility and dev environment (1)
Makefile
Show all practicesHide 2 practices
CRAN release process (3)
cran-comments.mdrevdep/CRAN-SUBMISSION
Research and citation (1)
codemeta.json
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing elastic adds 12 packages (8 with compiled code, 5.7 MB of source tarballs). Heaviest: Rcpp 1.8 MB, jsonlite 1.0 MB, rlang 766 KB.

Depends (0)
none
Imports (5)
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 2
Suggests, most downloaded first

People & History

People (2)
Maintainer since 1.2.2 (2026) · added in 1.2.2

Previously maintained by Scott Chamberlain (0.3.0 to 1.2.0).

Releases (15)
  • R
    R 4.6.0 released · 2026-04-24
  • unarchivedReturned to CRAN
    2026-01-25
  • 1.2.2Latest
    2026-01-25 · current release · diff ↗
  • archivedRemoved from CRAN
    2026-01-14
    the maintainer's request
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.2.0
    2021-03-16 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.1.0
    2020-01-11 · diff ↗ ·
    added 1 export
    index_shrink
  • R
    R 3.6.0 released · 2019-04-26
  • 1.0.0
    2019-04-11 · diff ↗ ·
    removed 1 export
    connection
    added 12 exports
    alias_rename, docs_bulk_create, docs_bulk_delete, docs_bulk_index, docs_delete_by_query, docs_update_by_query, pipeline_attachment, pipeline_create, pipeline_delete, pipeline_get, pipeline_simulate, type_remover
  • 0.8.4
    2018-06-26 · diff ↗ ·
    added 1 export
    docs_bulk_update
  • R
    R 3.5.0 released · 2018-04-23
Show 14 earlier eventsHide 14 earlier events
  • 0.8.0
    2017-09-14 · diff ↗ ·
    added 9 exports
    field_caps, index_forcemerge, index_template_delete, index_template_exists, index_template_get, index_template_put, reindex, tasks, tasks_cancel
  • R
    R 3.4.0 released · 2017-04-21
  • 0.7.8
    2016-11-09 · diff ↗ ·
    added 2 exports
    docs_bulk_prep, docs_update
  • 0.7.6
    2016-08-25 · diff ↗
  • 0.7.4
    2016-08-18 · diff ↗ ·
    added 5 exports
    Search_template, Search_template_delete, Search_template_get, Search_template_register, Search_template_render
  • 0.7.2
    2016-08-03 · diff ↗
  • 0.7.0
    2016-07-25 · diff ↗ ·
    added 4 exports
    info, mtermvectors, scroll_clear, termvectors
  • R
    R 3.3.0 released · 2016-05-03
  • 0.6.0
    2016-01-07 · diff ↗ ·
    added 10 exports
    cat_nodeattrs, field_stats, index_recreate, msearch, percolate_count, percolate_delete, percolate_list, percolate_match, percolate_register, validate
  • 0.5.0
    2015-07-03 · diff ↗ ·
    added 1 export
    index_settings_update
  • 0.4.0
    2015-05-01 · diff ↗ ·
    added 2 exports
    Search_uri, nodes_shutdown
  • R
    R 3.2.0 released · 2015-04-16
  • 0.3.0
    2015-01-29
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2015-01-29
Total releases
15 / 11 yrs
License
MIT + file LICENSE OSI
Download size
1.2 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("elastic")
Herold, R., & Chamberlain, S. (2026). elastic: Database Interface to 'Elasticsearch' and 'OpenSearch' (Version 1.2.2) [Computer software]. https://doi.org/10.32614/CRAN.package.elastic

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 elastic version 1.2.2 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, 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