diff --git a/R/data.R b/R/data.R index a22e9f5..7fff994 100644 --- a/R/data.R +++ b/R/data.R @@ -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: diff --git a/README.Rmd b/README.Rmd index 1aaa08e..378fe17 100644 --- a/README.Rmd +++ b/README.Rmd @@ -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 @@ -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 diff --git a/README.md b/README.md index f055cdb..d889cfe 100644 --- a/README.md +++ b/README.md @@ -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) -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 @@ -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 diff --git a/data-raw/zipcodes.R b/data-raw/zipcodes.R index 96e050f..96ea0c1 100644 --- a/data-raw/zipcodes.R +++ b/data-raw/zipcodes.R @@ -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) diff --git a/man/zipcodes.Rd b/man/zipcodes.Rd index 8965093..55d9a86 100644 --- a/man/zipcodes.Rd +++ b/man/zipcodes.Rd @@ -24,7 +24,7 @@ zipcodes This tibble contains city, state, latitude, and longitude for U.S. ZIP codes from the CivicSpace Database (August 2004) augmented by Daniel Coven's \href{http://federalgovernmentzipcodes.us/}{web site} (updated on January 22, 2012). The data was originally contained in the -\href{https://CRAN.R-project.org/package=zipcode}{\code{zipcodes}} CRAN package, which +\href{https://CRAN.R-project.org/package=zipcode}{\code{zipcode}} CRAN package, which was archived on January 1, 2020. } \keyword{datasets}