Skip to content

Commit 44cd2cd

Browse files
committed
Updates for CRAN
1 parent 5bccc03 commit 44cd2cd

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

R/zzz.R

Lines changed: 0 additions & 10 deletions
This file was deleted.

vignettes/stplanr-paper.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ ca_sp <- SpatialPointsDataFrame(coords = ca_cycle[3:4], data = ca_cycle[1:2])
271271
```
272272

273273
Now that this casualty data has been cleaned, subsetted (to only include serious cycle crashes) and converted into a spatial class system, we can analyse them using geographical datasets of the type commonly used by **stplanr**.
274-
The following code, for example, geographically subsets the dataset to include only crashes that occured within the bounding box of a [route network dataset](https://github.com/ropensci/stplanr/blob/master/data/route_network.rda?raw=true) provided by **stplanr** (from version 0.1.7 and beyond) using the function `bb2poly`, which converts a spatial dataset into a box, represented as a rectangular `SpatialPolygonsDataFrame`:
274+
The following code, for example, geographically subsets the dataset to include only crashes that occured within the bounding box of a route network dataset provided by **stplanr** (from version 0.1.7 and beyond) using the function `bb2poly`, which converts a spatial dataset into a box, represented as a rectangular `SpatialPolygonsDataFrame`:
275275

276276
```{r, eval=FALSE}
277277
data("route_network") # devtools::install_github("ropensci/splanr")version 0.1.7

0 commit comments

Comments
 (0)