Skip to contents

gho_data() loads data on any number of indicators from the GHO into a single data frame.

Usage

gho_data(inds, query = NULL, year_range = "numeric")

Arguments

inds

A character vector of indicator codes from the GHO database. Takes any of the codes in the IndicatorCode column of the data frame generated by gho_indicators().

query

A character vector of strings fitting the Odata protocol that must start with "$filter=". If one string provided, query will be recycled for each value in inds, otherwise the length of inds and query must match.

year_range

A string specifying whether the beginning and end values of the year range should be "numeric", the default, or "date".

Value

A data frame.