API response | R Documentation |
Details about the response obtained after a query.
The cedarr package uses the httr 'GET()' function to retrieve information from the CEDAR API. This API returns a result wrapped within the 'content' part of the http response. This part is structured as follow:
which page is returned to you. The default is the first page.
how many pages containing results maching your criterion have been found in CEDAR.
how many results are present onto the current page (capped at 50).
how many results maching your criterion have been found in CEDAR.
number of the previous page. You can browse pages with calls to function with the 'page.index' argument.
number of the next page. You can browse pages with calls to function with the 'page.index' argument.
this is the core result (which might be organised in a data.frame table or in a list):
a litteral identifier given to the result.
a url-format identifier given to the result. This is the one to use if you want to call this result as an argument of functions (e.g. within the 'id' argument.)
a url-format identifier of '@type'.
which is the type of the result (class, value, value-set, vs-collection, ontology.)
a human-legible title given to the result.
a short way to note the result.
the definition of the result within its ontology.
an url of the original resource in which the result can be found.
CEDAR uses two approaches of the terminology resources: the value sets collections and the ontologies. The first one is structured as value sets collections, parents of value sets, parents of values. The second one is structured as ontologies, which are hierarchies of classes. The "lowest" ontological classes are equivalent to the values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.