Skip to content

Commit 3c3e15a

Browse files
committed
Deploying to gh-pages from @ 7fda72c 🚀
1 parent e8b5b70 commit 3c3e15a

46 files changed

Lines changed: 129 additions & 59 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

LICENSE.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

articles/getting-started.html

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

authors.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

authors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
## Citation
1111

1212
Source:
13-
[`DESCRIPTION`](https://github.com/omopHub/omophub-R/blob/v1.4.0/DESCRIPTION)
13+
[`DESCRIPTION`](https://github.com/omopHub/omophub-R/blob/main/DESCRIPTION)
1414

1515
Chen A (2026). *omophub: R Client for the 'OMOPHub' Medical Vocabulary
1616
API*. R package version 1.4.0, <https://github.com/omopHub/omophub-R>.

index.html

Lines changed: 35 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,29 @@ for (s in similar$similar_concepts) {
120120
}
121121
```
122122

123+
### Bulk Search
124+
125+
Search for multiple terms in a single API call:
126+
127+
``` r
128+
# Bulk lexical search (up to 50 queries)
129+
results <- client$search$bulk_basic(list(
130+
list(search_id = "q1", query = "diabetes mellitus"),
131+
list(search_id = "q2", query = "hypertension"),
132+
list(search_id = "q3", query = "aspirin")
133+
), defaults = list(vocabulary_ids = list("SNOMED"), page_size = 5))
134+
135+
for (item in results$results) {
136+
cat(sprintf("%s: %d results\n", item$search_id, length(item$results)))
137+
}
138+
139+
# Bulk semantic search (up to 25 queries)
140+
results <- client$search$bulk_semantic(list(
141+
list(search_id = "s1", query = "heart failure treatment options"),
142+
list(search_id = "s2", query = "type 2 diabetes medication")
143+
), defaults = list(threshold = 0.5, page_size = 10))
144+
```
145+
123146
## Use Cases
124147

125148
### ETL & Data Pipelines
@@ -207,7 +230,7 @@ concepts_df %>%
207230
| Resource | Description | Key Methods |
208231
|----------------|-------------------------------------|--------------------------------------------------------------------------------------------------------|
209232
| `concepts` | Concept lookup and batch operations | [`get()`](https://rdrr.io/r/base/get.html), `get_by_code()`, `batch()`, `suggest()` |
210-
| `search` | Full-text and semantic search | `basic()`, `advanced()`, `semantic()`, `semantic_all()`, `similar()`, `basic_all()` |
233+
| `search` | Full-text and semantic search | `basic()`, `advanced()`, `semantic()`, `similar()`, `bulk_basic()`, `bulk_semantic()` |
211234
| `hierarchy` | Navigate concept relationships | `ancestors()`, `descendants()` |
212235
| `mappings` | Cross-vocabulary mappings | [`get()`](https://rdrr.io/r/base/get.html), [`map()`](https://purrr.tidyverse.org/reference/map.html) |
213236
| `vocabularies` | Vocabulary metadata | [`list()`](https://rdrr.io/r/base/list.html), [`get()`](https://rdrr.io/r/base/get.html), `stats()` |

llms.txt

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,29 @@ for (s in similar$similar_concepts) {
120120
}
121121
```
122122

123+
### Bulk Search
124+
125+
Search for multiple terms in a single API call:
126+
127+
``` r
128+
# Bulk lexical search (up to 50 queries)
129+
results <- client$search$bulk_basic(list(
130+
list(search_id = "q1", query = "diabetes mellitus"),
131+
list(search_id = "q2", query = "hypertension"),
132+
list(search_id = "q3", query = "aspirin")
133+
), defaults = list(vocabulary_ids = list("SNOMED"), page_size = 5))
134+
135+
for (item in results$results) {
136+
cat(sprintf("%s: %d results\n", item$search_id, length(item$results)))
137+
}
138+
139+
# Bulk semantic search (up to 25 queries)
140+
results <- client$search$bulk_semantic(list(
141+
list(search_id = "s1", query = "heart failure treatment options"),
142+
list(search_id = "s2", query = "type 2 diabetes medication")
143+
), defaults = list(threshold = 0.5, page_size = 10))
144+
```
145+
123146
## Use Cases
124147

125148
### ETL & Data Pipelines
@@ -207,7 +230,7 @@ concepts_df %>%
207230
| Resource | Description | Key Methods |
208231
|----------------|-------------------------------------|--------------------------------------------------------------------------------------------------------|
209232
| `concepts` | Concept lookup and batch operations | [`get()`](https://rdrr.io/r/base/get.html), `get_by_code()`, `batch()`, `suggest()` |
210-
| `search` | Full-text and semantic search | `basic()`, `advanced()`, `semantic()`, `semantic_all()`, `similar()`, `basic_all()` |
233+
| `search` | Full-text and semantic search | `basic()`, `advanced()`, `semantic()`, `similar()`, `bulk_basic()`, `bulk_semantic()` |
211234
| `hierarchy` | Navigate concept relationships | `ancestors()`, `descendants()` |
212235
| `mappings` | Cross-vocabulary mappings | [`get()`](https://rdrr.io/r/base/get.html), [`map()`](https://purrr.tidyverse.org/reference/map.html) |
213236
| `vocabularies` | Vocabulary metadata | [`list()`](https://rdrr.io/r/base/list.html), [`get()`](https://rdrr.io/r/base/get.html), `stats()` |

news/index.html

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

news/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## omophub 1.4.0
44

5+
CRAN release: 2026-02-23
6+
57
### New Features
68

79
- **Semantic search** (`semantic()`, `semantic_all()`): Natural language

pkgdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pkgdown: 2.2.0
33
pkgdown_sha: ~
44
articles:
55
getting-started: getting-started.html
6-
last_built: 2026-02-23T08:54Z
6+
last_built: 2026-03-26T17:43Z
77
urls:
88
reference: https://omophub.github.io/omophub-R/reference
99
article: https://omophub.github.io/omophub-R/articles

0 commit comments

Comments
 (0)