ramses-antibiotics / snomedizer

An R Interface to the SNOMED CT API <https://github.com/IHTSDO/snowstorm>
https://snomedizer.web.app
Other
9 stars 1 forks source link

url too long #13

Closed peterdutey closed 3 years ago

peterdutey commented 3 years ago

set batches of 300 conceptIds

infection_concepts <- concepts_descendants(
  conceptIds = "40733004",
  direct_descendants = FALSE,
  activeFilter = TRUE,
  endpoint = local_endpoint,
  branch = local_branch,
  limit = 10000
)[[1]]

infection_descriptions <- concepts_descriptions(
  conceptIds = infection_concepts$conceptId,
  endpoint = local_endpoint,
  branch = local_branch,
  limit = 10000)

> No encoding supplied: defaulting to UTF-8.
> Warning message:
> Status 414 
peterdutey commented 3 years ago

Resolved by https://github.com/ramses-antibiotics/snomedizer/commit/2d7caaaf8f3d144c585f51bff7086548028cd6a5

This problem can also affect concepts_find() so needs fixing too.

concepts_descendants() is already doing sequential dispatch.