Skip to content

Commit

Permalink
add cran download to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
evanodell committed May 24, 2018
1 parent 0c1106c commit bb8c584
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
3 changes: 1 addition & 2 deletions R/data_download.R
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,7 @@ nomis_get_data <- function(id, time = NULL, date = NULL, geography = NULL,
message("This may cause timeout and/or automatic rate limiting.")

if (utils::menu(c("Yes", "No"),
title = "Do you want to continue?"
) == 2) {
title = "Do you want to continue?") == 2) {
stop(call. = FALSE)
}
}
Expand Down
8 changes: 7 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@ The package is for demographers, economists, geographers, public health research

## Installation

You can install `nomisr` from github with:
`nomisr` is available on CRAN:

```{r cran-installation, eval = FALSE}
install.packages("nomisr")
```

You can install the development version `nomisr` from github with:

```{r gh-installation, eval = FALSE}
# install.packages("devtools")
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,13 @@ datasets covering the same geographic area.

## Installation

You can install `nomisr` from github with:
`nomisr` is available on CRAN:

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

You can install the development version `nomisr` from github with:

``` r
# install.packages("devtools")
Expand Down

0 comments on commit bb8c584

Please sign in to comment.