fingertipsR v0.1.0

0

Monthly downloads

0th

Percentile

by Sebastian Fox

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
fingertipsR fingertipsR: A package for extracting the data behind the Fingertips website (fingertips.phe.gov.uk)
fingertips_data Fingertips data
profiles Live profiles
indicator_metadata Indicator metadata
indicators Profiles
area_types Area types
deprivation_decile Deprivation deciles
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-06-17 21:42:12 UTC; Seb
Repository CRAN
Date/Publication 2017-06-17 23:57:11 UTC

Include our badge in your README

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