fingertips_redred: Red significance and red trend

Description Usage Arguments Value See Also Examples

View source: R/enhancements.R

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

1
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

1
2
3
4
## 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)

fingertipsR documentation built on Sept. 16, 2020, 5:07 p.m.