profiles: Live profiles

Description Usage Arguments Value See Also Examples

View source: R/profiles.R

Description

Outputs a data frame of live profiles that data are available for in Fingertips http://fingertips.phe.org.uk/

Usage

1
profiles(ProfileID = NULL, ProfileName = NULL, path)

Arguments

ProfileID

Numeric vector, id of profiles of interest

ProfileName

Character vector, full name of profile(s)

path

String; Fingertips API address. Function will default to the correct address

Value

A data frame of live profile ids and names along with their domain names and ids.

See Also

area_types for area type and their parent mappings, indicators for indicator lookups, indicator_metadata for indicator metadata, deprivation_decile for deprivation decile lookups, category_types for category lookups, indicator_areatypes for indicators by area types lookups, indicators_unique for unique indicatorids and their names, nearest_neighbours for a vector of nearest neighbours for an area and indicator_order for the order indicators are presented on the Fingertips website within a Domain

Other lookup functions: area_types(), category_types(), deprivation_decile(), indicator_areatypes(), indicator_metadata(), indicator_order(), indicators_unique(), indicators(), nearest_neighbours()

Examples

1
2
3
4
5
6
7
## Not run: 
# Returns a complete data frame of domains and their profiles
profiles()

# Returns a data frame of all of the domains in the Public Health Outcomes Framework
profiles(ProfileName = "Public Health Outcomes Framework")
## End(Not run)

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