Skip to content

Commit

Permalink
Minor update to pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
Robinlovelace committed Mar 1, 2024
1 parent c747b9f commit 5fa83e7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 0 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,3 @@ tm_shape(uk, bbox = sf::st_bbox(jts_geo)) +
tm_polygons("GPPT15pct", palette = "Blues", title = "% people who live\nwithin 15 minutes\nof GP by public transport") +
tm_layout(legend.position = c("right", "top"))
```

```{r}
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@

<!-- badges: start -->

<!-- [![R-CMD-check](https://github.com/datasciencecampus/jtstats-r/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/datasciencecampus/jtstats-r/actions/workflows/R-CMD-check.yaml) -->

<!-- badges: end -->

<!-- README.md is generated from README.Rmd. Please edit that file -->

# jtstats

<!-- badges: start -->

<!-- badges: end -->

The goal of jtstats is to enable easy import of the Department for
Expand Down Expand Up @@ -222,6 +218,11 @@ We can make a slightly more sophisticated plot with `tmap` as follows:

``` r
library(tmap)
#>
#> Attaching package: 'tmap'
#> The following object is masked from 'package:datasets':
#>
#> rivers
uk = rnaturalearth::ne_countries(country = "United Kingdom", returnclass = "sf", scale = "medium")
ie = rnaturalearth::ne_countries(country = "Ireland", returnclass = "sf", scale = "medium")

Expand All @@ -233,6 +234,7 @@ tm_shape(uk, bbox = sf::st_bbox(jts_geo)) +
tm_shape(jts_geo) +
tm_polygons("GPPT15pct", palette = "Blues", title = "% people who live\nwithin 15 minutes\nof GP by public transport") +
tm_layout(legend.position = c("right", "top"))
#> tm_polygons: Deprecated tmap v3 code detected. Code translated to v4
```

<img src="man/figures/README-unnamed-chunk-7-1.png" width="100%" />
Binary file modified man/figures/README-unnamed-chunk-7-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5fa83e7

Please sign in to comment.