{"id":14066905,"url":"https://github.com/ropensci/fingertipsR","last_synced_at":"2025-07-29T23:32:21.018Z","repository":{"id":19640654,"uuid":"87541217","full_name":"ropensci/fingertipsR","owner":"ropensci","description":"R package to interact with Public Health England’s Fingertips data tool","archived":false,"fork":false,"pushed_at":"2025-05-29T15:18:06.000Z","size":1297,"stargazers_count":98,"open_issues_count":30,"forks_count":18,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-05-29T15:55:14.339Z","etag":null,"topics":["api-wrapper","cran","fingertips","health","open-data","peer-reviewed","public-health","public-health-england","r","r-package","rstats"],"latest_commit_sha":null,"homepage":"https://docs.ropensci.org/fingertipsR","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ropensci.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-04-07T12:00:06.000Z","updated_at":"2025-05-29T15:18:04.000Z","dependencies_parsed_at":"2023-11-16T21:06:24.516Z","dependency_job_id":"979f0ebc-1c00-422a-89de-96ca6e672a1f","html_url":"https://github.com/ropensci/fingertipsR","commit_stats":{"total_commits":444,"total_committers":15,"mean_commits":29.6,"dds":"0.18693693693693691","last_synced_commit":"caa9b7be27147440dbf84409211fd9363622ff8d"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/ropensci/fingertipsR","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2FfingertipsR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2FfingertipsR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2FfingertipsR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2FfingertipsR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ropensci","download_url":"https://codeload.github.com/ropensci/fingertipsR/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2FfingertipsR/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267780047,"owners_count":24143201,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-wrapper","cran","fingertips","health","open-data","peer-reviewed","public-health","public-health-england","r","r-package","rstats"],"created_at":"2024-08-13T07:05:19.478Z","updated_at":"2025-07-29T23:32:20.154Z","avatar_url":"https://github.com/ropensci.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"README-\"\n)\n```\n\n[![codecov](https://codecov.io/gh/ropensci/fingertipsR/branch/master/graph/badge.svg?token=MpVheRqaRo)](https://codecov.io/gh/ropensci/fingertipsR)\n[![](https://badges.ropensci.org/168_status.svg)](https://github.com/ropensci/software-review/issues/168)\n[![R build status](https://github.com/ropensci/fingertipsR/workflows/R-CMD-check/badge.svg)](https://github.com/ropensci/fingertipsR/actions)\n\n# fingertipsR\n\nThis is an R package to interact with Public Health England's [Fingertips](http://fingertips.phe.org.uk/) data tool. Fingertips is a major public repository of population and public health indicators for England. The site presents the information in many ways to improve accessibility for a wide range of audiences ranging from public health professionals and researchers to the general public. The information presented is a mixture of data available from other public sources, and those that are available through user access agreements with other organisations. The source of each indicator presented is available using the `indicator_metadata()` function.\n\nThis package can be used to load data from the Fingertips API into R for further use. \n\n## Installation\n\n### rOpenSci\n\nGet the latest released, stable version from rOpenSci:\n\n```{r rOpenSci-install, eval=FALSE}\n# Enable repository from ropensci\noptions(repos = c(\n  ropensci = 'https://ropensci.r-universe.dev',\n  CRAN = 'https://cloud.r-project.org'))\n\n# Download and install fingertipsR in R\ninstall.packages('fingertipsR')\n```\n\n### With remotes\n\nYou can install the latest development version from github using [remotes](https://github.com/r-lib/remotes):\n\n```{r gh-installation, eval = FALSE}\n# install.packages(\"remotes\")\nremotes::install_github(\"rOpenSci/fingertipsR\",\n                        build_vignettes = TRUE,\n                        dependencies = \"suggests\")\n```\n\n\n## Example\n\nThis is an example of a workflow for downloading data for the indicator on *Healthy Life Expectancy at Birth* from the *Public Health Outcomes Framework* profile.\n\nThe `profiles()` function presents all of the available profiles:\n\n```{r profiles example}\nlibrary(fingertipsR)\nprofs \u003c- profiles()\nprofs \u003c- profs[grepl(\"Public Health Outcomes Framework\", profs$ProfileName),]\nhead(profs)\n```\n\nThis table shows that the `ProfileID` for the Public Health Outcomes Framework is 19. This can be used as an input for the `indicators()` function:\n\n```{r indicators example}\nprofid \u003c- 19\ninds \u003c- indicators(ProfileID = profid)\nprint(inds[grepl(\"Healthy\", inds$IndicatorName), c(\"IndicatorID\", \"IndicatorName\")])\n```\n\nHealthy Life Expectancy at Birth has the `IndicatorID` equal to 90362.\n\nFinally, the data can be extracted using the `fingertips_data()` function using that `IndicatorID`:\n\n```{r fingertips_data example}\nindid \u003c- 90362\ndf \u003c- fingertips_data(IndicatorID = indid, AreaTypeID = 202)\nhead(df)\n```\n\n## Use\n\nPlease see the vignettes for information on use.\n\n```{r use, eval=FALSE}\nbrowseVignettes(\"fingertipsR\")\n```\n\n## More information\n\n* Please note that the 'fingertipsR' project is released with a\n[Contributor Code of Conduct](https://github.com/ropensci/fingertipsR/blob/master/CODE_OF_CONDUCT.md).\nBy contributing to this project, you agree to abide by its terms.\n* License: [GPL-3](https://opensource.org/licenses/GPL-3.0)\n\n[![ropensci\\_footer](https://ropensci.org/public_images/ropensci_footer.png)](https://ropensci.org)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fropensci%2FfingertipsR","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fropensci%2FfingertipsR","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fropensci%2FfingertipsR/lists"}