fingertipsR v0.1.3

0

Monthly downloads

0th

Percentile

Fingertips Data for Public Health

Fingertips (<http://fingertips.phe.org.uk/>) contains data for many indicators of public health in England. The underlying data is now more easily accessible by making use of the API.

Readme

fingertipsR

This is an R package to interact with Public Health England's Fingertips data tool. This can be used to load data from the Fingertips API into R for further manipulation.

Installation

From zip

Download this repository from GitHub and either build from source or do:

source <- devtools:::source_pkg("C:/path/to/fingertips-master")
install(source)

With devtools

You can install the latest version of fingertipsR from github with:

# install.packages("devtools")
devtools::install_github("PublicHealthEngland/fingertipsR")

Example

This is a basic example which shows you how to solve a common problem:

library(fingertipsR)
df <- profiles(ProfileName = "Public Health Outcomes Framework")
print(df)
#>   ProfileID                      ProfileName   DomainID
#> 1        19 Public Health Outcomes Framework    1000041
#> 2        19 Public Health Outcomes Framework    1000042
#> 3        19 Public Health Outcomes Framework    1000043
#> 4        19 Public Health Outcomes Framework    1000044
#> 5        19 Public Health Outcomes Framework    1000049
#> 6        19 Public Health Outcomes Framework 1938132983
#>                           DomainName
#> 1       Wider determinants of health
#> 2                 Health improvement
#> 3                  Health protection
#> 4 Healthcare and premature mortality
#> 5             Overarching indicators
#> 6             Supporting information

Use

Please see the vignette for information on use.

vignette("lifeExpectancy")

Functions in fingertipsR

Name Description
area_types Area types
areatypes_by_indicators IndicatorID by AreaTypeID
category_types Category types
deprivation_decile Deprivation deciles
fingertips_redred Red significance and red trend
indicator_areatypes Area types by indicator
fingertipsR fingertipsR: A package for extracting the data behind the Fingertips website (fingertips.phe.gov.uk)
fingertips_data Fingertips data
indicator_metadata Indicator metadata
indicators Profiles
profiles Live profiles
select_indicators Select indicator
No Results!

Vignettes of fingertipsR

Name
fingertips_paper_captions.R
lifeExpectancy.Rmd
lifeExpectancy.md
selectIndicatorsRedRed.Rmd
No Results!

Last month downloads

Details

Type Package
URL https://fingertips.phe.org.uk
BugReports https://github.com/PublicHealthEngland/fingertipsR/issues
VignetteBuilder knitr
License GPL-3
Encoding UTF-8
LazyData true
RoxygenNote 6.0.1
NeedsCompilation no
Packaged 2017-10-05 10:53:10 UTC; sebastian.fox
Repository CRAN
Date/Publication 2017-10-05 11:02:40 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/fingertipsR)](http://www.rdocumentation.org/packages/fingertipsR)