retrieve_faersxml {faersquarterlydata}R Documentation

Convert FAERS xml to tabular format

Description

Convert FAERS xml to tabular format

Usage

retrieve_faersxml(
  xml_address,
  reaction_wise = TRUE,
  drug_wise = FALSE,
  drug_indication_pattern = NULL
)

Arguments

xml_address

XML address to be read

reaction_wise

each row corresponds to a reaction (if TRUE, drug_wise cannot be TRUE)

drug_wise

each row corresponds to a drug (if TRUE, reaction_wise cannot be TRUE)

drug_indication_pattern

filter by ADR with a specific drug indication pattern (**stringr** sintax)

Value

A tibble corresponding to the XML file


[Package faersquarterlydata version 1.2.0 Index]