get_metric_description: Gets the description for a given COVID-19 metric

View source: R/get_metric_description.R

get_metric_descriptionR Documentation

Gets the description for a given COVID-19 metric

Description

Given a COVID-19 metric collected in the scraped data, returns a description of that metric, primarily useful for plotting (e.g. axis labels, titles, etc.).

Usage

get_metric_description(metric, short = FALSE)

Arguments

metric

character string of the given metric

short

logical, whether to return the short (vs. long) description

Value

character string of the given metric's description

Examples

get_metric_description("Residents.Active")


uclalawcovid19behindbars/behindbarstools documentation built on April 22, 2022, 4:08 a.m.