Skip to content

Commit

Permalink
fixes and updates
Browse files Browse the repository at this point in the history
  • Loading branch information
CoryMcCartan committed Feb 23, 2024
1 parent cb3b4fa commit 33ffb74
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 20 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
YEAR: 2022
YEAR: 2024
COPYRIGHT HOLDER: ALARM Project
13 changes: 3 additions & 10 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
# alarmdata 0.1.3
# alarmdata 0.2.0

* Adds support for 2010 50-state simulation data.

# alarmdata 0.1.2

* Fixes for CRAN submission

# alarmdata 0.1.1

* Fixes for CRAN submission
* Prepare for CRAN release

# alarmdata 0.1.0

* Initial package release
* Functionality to download 50-state simulation data, 2020 Census + VEST data,
and add additional plans to simulation objects
and add additional plans to simulation objects
2 changes: 1 addition & 1 deletion R/add_plan.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#' Default is `'GEOID'`.
#' @param year the decade to request if passing a `tibble` to `ref_plan`, either `2010` or `2020`. Default is `2020`.
#'
#' @return A modified `redist_plans` object containing the reference plan. Includes summary statistics if the original `redist_plans` object had them as well.
#' @returns A modified `redist_plans` object containing the reference plan. Includes summary statistics if the original `redist_plans` object had them as well.
#' @export
#'
#' @examplesIf Sys.getenv("DATAVERSE_KEY") != ''
Expand Down
2 changes: 1 addition & 1 deletion R/census_vest.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#' @param epsg A numeric EPSG code to use as the coordinate system. Default is `alarm_epsg(state)`.
#' @template state
#'
#' @return tibble with Census and election data
#' @returns tibble with Census and election data
#' @export
#'
#' @examples
Expand Down
2 changes: 1 addition & 1 deletion R/epsg.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#' @templateVar state TRUE
#' @template state
#'
#' @return A numeric EPSG code
#' @returns A numeric EPSG code
#' @export
#'
#' @examples
Expand Down
12 changes: 9 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,17 @@ and [50-State Redistricting Simulations](https://doi.org/10.7910/DVN/SLCD3E).

## Installation

You can install the development version of **alarmdata** from [GitHub](https://github.com/) with:
You can install **alarmdata** with:

``` r
# install.packages("devtools")
devtools::install_github("alarm-redist/alarmdata")
install.packages("alarmdata")
```

You can also install the development version from [GitHub](https://github.com/) with:

``` r
# install.packages("remotes")
remotes::install_github("alarm-redist/alarmdata")
```

## Example
Expand Down
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,18 @@ Simulations](https://doi.org/10.7910/DVN/SLCD3E).

## Installation

You can install the development version of **alarmdata** from
You can install **alarmdata** with:

``` r
install.packages("alarmdata")
```

You can also install the development version from
[GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("alarm-redist/alarmdata")
# install.packages("remotes")
remotes::install_github("alarm-redist/alarmdata")
```

## Example
Expand Down
Binary file modified man/figures/README-ex-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 33ffb74

Please sign in to comment.