From 19c0ada0c4c577bd920a89b5d0feb912b4c94fca Mon Sep 17 00:00:00 2001 From: boB Rudis Date: Thu, 26 Jan 2017 23:57:46 -0500 Subject: [PATCH] added points_elided() to README --- NAMESPACE | 2 +- NEWS.md | 1 + README.Rmd | 4 ++++ README.md | 6 +++++- man/usa_sf.Rd | 2 +- 5 files changed, 12 insertions(+), 3 deletions(-) diff --git a/NAMESPACE b/NAMESPACE index d180ef5..55591f6 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -1,8 +1,8 @@ # Generated by roxygen2: do not edit by hand export(counties_composite) -export(points_elided) export(counties_sf) +export(points_elided) export(us_aeqd_proj) export(us_eqdc_proj) export(us_laea_proj) diff --git a/NEWS.md b/NEWS.md index 25ae6c9..56c713c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,6 @@ 0.3.0 * simplefeatures (sf) functions +* `points_elided()` function courtesy of @rdinter 0.1.0 * Initial release diff --git a/README.Rmd b/README.Rmd index c438b45..a0d0efe 100644 --- a/README.Rmd +++ b/README.Rmd @@ -10,6 +10,10 @@ The following functions are implemented: - `counties_sf`: Retreive a U.S. county composite map, optionally with a projection, as a simplefeature - `usa_sf`: Retreive a U.S. state composite map, optionally with a projection, as a simplefeature +New ones: + +- `points_elided`: Shift points around Alaska and Hawaii to the elided area (by @rdinter) + Some legacy ones: - `usa_composite`: Retreive a U.S. composite map, optionally with a projection diff --git a/README.md b/README.md index 02bd86e..bfd88b2 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,10 @@ The following functions are implemented: - `counties_sf`: Retreive a U.S. county composite map, optionally with a projection, as a simplefeature - `usa_sf`: Retreive a U.S. state composite map, optionally with a projection, as a simplefeature +New ones: + +- `points_elided`: Shift points around Alaska and Hawaii to the elided area (by @rdinter) + Some legacy ones: - `usa_composite`: Retreive a U.S. composite map, optionally with a projection @@ -263,7 +267,7 @@ library(testthat) date() ``` - ## [1] "Thu Jan 26 23:49:15 2017" + ## [1] "Thu Jan 26 23:57:29 2017" ``` r test_dir("tests/") diff --git a/man/usa_sf.Rd b/man/usa_sf.Rd index b07f584..477c224 100644 --- a/man/usa_sf.Rd +++ b/man/usa_sf.Rd @@ -46,7 +46,7 @@ system.file("extdata/composite_us_states.geojson.gz", package="albersusa") \examples{ library(sf) -plot(usa_sf()) +plot(usa_sf()) # these take a while to render plot(usa_sf("laea")) }