Description Usage Arguments Value Examples
View source: R/fingertips_data.R
Outputs a data frame of data from Fingertips
1 2 3 |
IndicatorID |
Numeric vector, id of the indicator of interest |
AreaCode |
Character vector, ONS area code of area of interest |
DomainID |
Numeric vector, id of domains of interest |
ProfileID |
Numeric vector, id of profiles of interest |
AreaTypeID |
Numeric vector, the Fingertips ID for the area type; default is NULL |
ParentAreaTypeID |
Numeric vector, the comparator area type for the data extracted; if NULL the function will use the first record for the specified 'AreaTypeID' from the area_types() function |
inequalities |
TRUE or FALSE, determines whether the final table includes inequalities data where it exists. Default to FALSE |
A data frame of data extracted from the Fingertips API
1 2 3 4 5 6 7 8 | ## Not run:
# Returns data for the two selected domains at county and unitary authority geography
doms <- c(1000049,1938132983)
fingdata <- fingertips_data(DomainID = doms)#'
# Returns data at local authority district geography for the indicator with the id 22401
fingdata <- fingertips_data(22401, AreaTypeID = 101)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.