Skip to content

Commit

Permalink
indicator_stats corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Fox committed Feb 2, 2018
1 parent b1439e8 commit f80bb79
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
@@ -1,6 +1,6 @@
Package: fingertipsR
Type: Package
Version: 0.1.4.9000
Version: 0.1.4
Title: Fingertips Data for Public Health
Description: 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.
Maintainer: Sebastian Fox <sebastian.fox@phe.gov.uk>
Expand Down
2 changes: 0 additions & 2 deletions NEWS.md
@@ -1,5 +1,3 @@
# fingertips 0.1.4.9000

# fingertipsR 0.1.4

* modifications to the fingertipsR paper
Expand Down
2 changes: 1 addition & 1 deletion R/enhancements.R
Expand Up @@ -53,7 +53,7 @@ fingertips_stats <- function() {
fingertips_stats <- indicators()
summarised_stats <- fingertips_stats %>%
summarise_if(is.integer, n_distinct)
fingertips_stats <- sprintf("On %s Fingertips consisted of %o profiles, made up of %o indicators and %o distinct indicators.",
fingertips_stats <- sprintf("On %s Fingertips consisted of %s profiles, made up of %s indicators and %s distinct indicators.",
format(Sys.Date(), "%d/%m/%Y"),
summarised_stats$ProfileID,
nrow(fingertips_stats),
Expand Down
2 changes: 0 additions & 2 deletions README.md
Expand Up @@ -127,5 +127,3 @@ More information

- Please note that this project is released with a [Contributor Code of Conduct](CONDUCT.md). By participating in this project you agree to abide by its terms
- License: [GPL-3](https://opensource.org/licenses/GPL-3.0)

[![ropensci\_footer](https://ropensci.org/public_images/ropensci_footer.png)](https://ropensci.org)
2 changes: 2 additions & 0 deletions cran-comments.md
@@ -1,5 +1,7 @@
This package allows users to pull data from an API into their R environment. This is a resubmission due to additional functionality, improved documentation, and a successful application to rOpenSci.

**Note, I submitted to CRAN erroneously about an hour ago - would it be possible to ignore that submission as I spotted a minor error in a new function. I'm really sorry!**

## Test

* local OS X install, R 3.4.3
Expand Down

0 comments on commit f80bb79

Please sign in to comment.