Skip to content

Commit

Permalink
Merge pull request #22 from villegar/pkg-renaming
Browse files Browse the repository at this point in the history
Package renaming
  • Loading branch information
ChrisBeeley authored Nov 20, 2023
2 parents 4fa862b + c88dc27 commit 469475a
Show file tree
Hide file tree
Showing 33 changed files with 871 additions and 1,669 deletions.
2 changes: 1 addition & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
^LSOApop\.Rproj$
^\.Rproj$
^\.Rproj\.user$
^README\.Rmd$
^CODE_OF_CONDUCT\.md$
Expand Down
8 changes: 4 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: NHSRpopulation
Title: Lower layer Super Output Area (LSOA) population estimates and Indecies of Multiple Deprivation (IMD) for England
Title: Lower layer Super Output Area (LSOA) population estimates and Indices of Multiple Deprivation (IMD) for England
Date: 2021-07-08
Version: 0.0.2
Authors@R: c(
Expand All @@ -8,12 +8,12 @@ Authors@R: c(
person("Chris", "Beeley", role = c("aut"), comment = c(ORCID = "0000-0003-2344-9962")))
Description: This package provides Lower layer Super Output Area (LSOA) population estimates and their Indecies of Multiple Deprivation (IMD) for England
License: MIT + file LICENSE
URL: https://nhs-r-community.github.io/LSOApop/
BugReports: https://github.com/nhs-r-community/LSOApop/issues
URL: https://nhs-r-community.github.io/NHSRpopulation/
BugReports: https://github.com/nhs-r-community/NHSRpopulation/issues
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.1
RoxygenNote: 7.2.3
Imports:
dplyr,
magrittr,
Expand Down
2 changes: 1 addition & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

cli::cli_h1(paste0("This is ", pkgname, " ", version))
cli::cli_alert_info(paste0("Please report any issues or ideas at:"))
cli::cli_alert_info("https://github.com/nhs-r-community/LSOApop/issues")
cli::cli_alert_info("https://github.com/nhs-r-community/NHSRpopulation/issues")
}
12 changes: 6 additions & 6 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ knitr::opts_chunk$set(
)
```

# LSOApop <a href='https://nhsrcommunity.com/'><img src='man/figures/logo.png' align="right" height="60" /></a>
# NHSRpopulation <a href='https://nhsrcommunity.com/'><img src='man/figures/logo.png' align="right" height="60" /></a>

<!-- badges: start -->
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
<!-- badges: end -->

The goal of `LSOApop` is to make population estimates for **Lower layer Super Output Areas (LSOA)** and their **Indices of Multiple Deprivation (IMD)** easily available in R.
The goal of `NHSRpopulation` is to make population estimates for **Lower layer Super Output Areas (LSOA)** and their **Indices of Multiple Deprivation (IMD)** easily available in R.
Population estimates are broken down by age (0 to 90+) and gender (female/male).
Information about the original sources of the data and a transparent description of all transformation of the data that is made available in this package can be found in this repository, see `"data-raw/imd.R` and `"data-raw/lsoa.R`.
Main changes to the original data structures include (1) the transformation from wide to long data, (2) the addition of further information that was only available in variable names, and (3) renaming variables in a consistent way.
Expand All @@ -29,18 +29,18 @@ Because we store quite a lot in this package it currently relatively large (~9mb

## Installation

You can install the current version of `LSOApop` from [GitHub](https://github.com/nhs-r-community/LSOApop) with:
You can install the current version of `NHSRpopulation` from [GitHub](https://github.com/nhs-r-community/NHSRpopulation) with:

``` r
# install.packages("remotes")
remotes::install_github("nhs-r-community/LSOApop")
remotes::install_github("nhs-r-community/NHSRpopulation")
```

## Example

```{r}
# Load the package
library(LSOApop)
library(NHSRpopulation)
```

### Lower layer Super Output Areas (LSOA)
Expand Down Expand Up @@ -71,7 +71,7 @@ The original source of the data provided in this R package is available [here](h

## Code of Conduct

Please note that the `LSOApop` project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html).
Please note that the `NHSRpopulation` project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html).
By contributing to this project, you agree to abide by its terms.

## Special note of thanks
Expand Down
44 changes: 22 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,50 +1,50 @@

<!-- README.md is generated from README.Rmd. Please edit that file -->

# LSOApop <a href='https://nhsrcommunity.com/'><img src='man/figures/logo.png' align="right" height="60" /></a>
# NHSRpopulation <a href='https://nhsrcommunity.com/'><img src='man/figures/logo.png' align="right" height="60" /></a>

<!-- badges: start -->

[![Lifecycle:
experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
<!-- badges: end -->

The goal of `LSOApop` is to make population estimates for **Lower layer
Super Output Areas (LSOA)** and their **Indices of Multiple Deprivation
(IMD)** easily available in R. Population estimates are broken down by
age (0 to 90+) and gender (female/male). Information about the original
sources of the data and a transparent description of all transformation
of the data that is made available in this package can be found in this
repository, see `"data-raw/imd.R` and `"data-raw/lsoa.R`. Main changes
to the original data structures include (1) the transformation from wide
to long data, (2) the addition of further information that was only
available in variable names, and (3) renaming variables in a consistent
way.
The goal of `NHSRpopulation` is to make population estimates for **Lower
layer Super Output Areas (LSOA)** and their **Indices of Multiple
Deprivation (IMD)** easily available in R. Population estimates are
broken down by age (0 to 90+) and gender (female/male). Information
about the original sources of the data and a transparent description of
all transformation of the data that is made available in this package
can be found in this repository, see `"data-raw/imd.R` and
`"data-raw/lsoa.R`. Main changes to the original data structures include
(1) the transformation from wide to long data, (2) the addition of
further information that was only available in variable names, and (3)
renaming variables in a consistent way.

The current version of this package only includes LSOA population
estimates and IMD scores for the year 2019 for England. Because we store
quite a lot in this package it currently relatively large (\~9mb)
quite a lot in this package it currently relatively large (~9mb)
compared to other packages.

## Installation

You can install the current version of `LSOApop` from
[GitHub](https://github.com/nhs-r-community/LSOApop) with:
You can install the current version of `NHSRpopulation` from
[GitHub](https://github.com/nhs-r-community/NHSRpopulation) with:

``` r
# install.packages("remotes")
remotes::install_github("nhs-r-community/LSOApop")
remotes::install_github("nhs-r-community/NHSRpopulation")
```

## Example

``` r
# Load the package
library(LSOApop)
library(NHSRpopulation)
#>
#> -- This is LSOApop 0.0.2 -------------------------------------------------------
#> i Please report any issues or ideas at:
#> i https://github.com/nhs-r-community/LSOApop/issues
#> ── This is NHSRpopulation 0.0.2 ────────────────────────────────────────────────
#> Please report any issues or ideas at:
#> https://github.com/nhs-r-community/NHSRpopulation/issues
```

### Lower layer Super Output Areas (LSOA)
Expand Down Expand Up @@ -105,8 +105,8 @@ v3.0](http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/)

## Code of Conduct

Please note that the `LSOApop` project is released with a [Contributor
Code of
Please note that the `NHSRpopulation` project is released with a
[Contributor Code of
Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html).
By contributing to this project, you agree to abide by its terms.

Expand Down
138 changes: 46 additions & 92 deletions docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 469475a

Please sign in to comment.