Skip to content

Commit

Permalink
Fix references to zipcode
Browse files Browse the repository at this point in the history
  • Loading branch information
k5cents committed Feb 12, 2020
1 parent 57c28d9 commit af564e1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion R/data.R
Expand Up @@ -286,7 +286,7 @@ NULL
#' from the CivicSpace Database (August 2004) augmented by Daniel Coven's [web
#' site](http://federalgovernmentzipcodes.us/) (updated on January 22, 2012).
#' The data was originally contained in the
#' [`zipcodes`](https://CRAN.R-project.org/package=zipcode) CRAN package, which
#' [`zipcode`](https://CRAN.R-project.org/package=zipcode) CRAN package, which
#' was archived on January 1, 2020.
#'
#' @format A tibble with 52 rows and 9 variables:
Expand Down
6 changes: 3 additions & 3 deletions README.Rmd
Expand Up @@ -91,7 +91,7 @@ usa::facts
usa::territory
```

ZIP codes from the archived ['zipcodes'][zip] package are also included
ZIP codes from the archived ['zipcode'][zip] package are also included

```{r zipcodes}
usa::zipcodes
Expand All @@ -117,11 +117,11 @@ contributing to this project, you agree to abide by its terms.
[cran_link]: https://CRAN.R-project.org/package=usa
[trav_badge]: https://travis-ci.org/kiernann/usa.svg?branch=master
[trav_link]: https://travis-ci.org/kiernann/usa
[cov_badge]: https://codecov.io/gh/kiernann/usa/branch/master/graph/badge.svg
[cov_badge]: https://img.shields.io/codecov/c/github/kiernann/usa/master.svg
[cov_link]: https://codecov.io/gh/kiernann/usa?branch=master
[tib]: https://tibble.tidyverse.org/
[gh]: https://github.com/kiernann/usa
[zip]: https://cran.r-project.org/package=zipcodes
[zip]: https://cran.r-project.org/package=zipcode
[pew]: http://pewrsr.ch/2rNawC7
[coc]: https://kiernann.com/usa/CODE_OF_CONDUCT.html
<!-- refs: end -->
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -12,10 +12,10 @@ status](https://www.r-pkg.org/badges/version/usa)](https://CRAN.R-project.org/pa
[![Travis build
status](https://travis-ci.org/kiernann/usa.svg?branch=master)](https://travis-ci.org/kiernann/usa)
[![Codecov test
coverage](https://codecov.io/gh/kiernann/usa/branch/master/graph/badge.svg)](https://codecov.io/gh/kiernann/usa?branch=master)
coverage](https://img.shields.io/codecov/c/github/kiernann/usa/master.svg)](https://codecov.io/gh/kiernann/usa?branch=master)
<!-- badges: end -->

The goal of ‘usa’ is to provide updated versions of the ‘dataset
The goal of ‘usa’ is to provide updated versions of the ‘datasets
objects included with R. When attached, this package **overwrites**
these original vectors with information on all fifty states, the
District of Columbia, and Puerto Rico. As of now, information on the
Expand Down Expand Up @@ -118,8 +118,8 @@ usa::territory
```

ZIP codes from the archived
[zipcodes](https://cran.r-project.org/package=zipcodes) package
are also included
[zipcode](https://cran.r-project.org/package=zipcode) package are
also included

``` r
usa::zipcodes
Expand Down
2 changes: 1 addition & 1 deletion data-raw/zipcodes.R
Expand Up @@ -3,7 +3,7 @@
library(tidyverse)
library(fs)

# download and read archives {zipcodes} package data
# download and read archives {zipcode} package data
zip_url <- "https://cran.r-project.org/src/contrib/Archive/zipcode/zipcode_1.0.tar.gz"
zip_file <- file_temp(ext = ".tar.gz")
download.file(zip_url, zip_file)
Expand Down
2 changes: 1 addition & 1 deletion man/zipcodes.Rd

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

0 comments on commit af564e1

Please sign in to comment.