fingertips_redred: Red significance and red trend

View source: R/enhancements.R

fingertips_redredR Documentation

Red significance and red trend

Description

Filters data returned by the fingertips_data function for values for areas that are trending statistically significantly worse and the spot value is significantly worse than the comparator (England or Parent) value in the latest year of that indicator

Usage

fingertips_redred(Comparator = "England", ...)

Arguments

Comparator

String, either "England" or "Parent" to determine which field to compare the spot value significance to

...

Parameters provided to fingertips_data()

Value

A data frame of data extracted from the Fingertips API

See Also

Other data extract functions: fingertips_data()

Examples

## Not run: 
# Returns data for the two selected domains at county and unitary authority geography
reddata <- fingertips_redred(ProfileID = 26, AreaTypeID = 102)
## End(Not run)

ropensci/fingertipsR documentation built on Feb. 27, 2024, 7:33 a.m.