Search: Search records

Description Usage Arguments Examples

View source: R/search.R

Description

Search records

Usage

1
2
3
4
5
6
7
8
9
Search(
  ct,
  model,
  class,
  where = list(),
  include = NULL,
  page = c("first", "all"),
  tidy = TRUE
)

Arguments

ct

The object from Client. The server to perform search.

model

The resource model to build.

class

The class of the resource model.

where

The search parameters.

include

The include parameter to include other resources.

page

To return first or all pages of the search results.

tidy

Whether to return a tibble object.

Examples

1
2
3
4
5
## Not run: 
Search(ct, "observation", "Observation",
list(code = "http://loinc.org|2339-0"), include = "subject")

## End(Not run)

qhu75/fhiRclient documentation built on Dec. 31, 2020, 2:11 a.m.