query_fz: Query FindZebra for differential diagnosis generation

Description Usage Arguments Details Value Examples

Description

Queries the FindZebra website and returns a data frame containing properly formatted results, including the relevant rare medical conditions and associated genes.

Usage

1
2
query_fz(query, num_rows = 20, fields = c("display_title", "symptom",
  "retrieved_date", "source", "score"))

Arguments

query

a character vector in which each symptom is an element and multiple words within a symptom are separated by spaces

num_rows

maximum number of desired rare conditions

fields

character vector containing a subset of the following: 'display_title', 'content', 'associated_gene', 'symptom', 'retrieved_date', 'source_url', 'source', 'cui', 'score'.

Details

See FindZebra API <http://www.findzebra.com/about> for more information.

Value

data frame with 1 row per rare condition and 1 column per field (see 'fields' parameter)

Examples

1
2
3
4
## Not run: 
query_fz(query = c("muscle pain", "fatigue"))

## End(Not run)

webddx documentation built on May 2, 2019, 6:11 a.m.