From 5a27384fd3fd6c84bc658f4e4c5ccba777355ea1 Mon Sep 17 00:00:00 2001 From: Diego H Date: Sun, 13 Nov 2022 18:47:47 +0100 Subject: [PATCH] Update docs --- R/layer_spatraster.R | 2 +- README.Rmd | 2 +- README.md | 2 +- man/layer_spatraster.Rd | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/R/layer_spatraster.R b/R/layer_spatraster.R index f02870f0..11f1a842 100644 --- a/R/layer_spatraster.R +++ b/R/layer_spatraster.R @@ -21,7 +21,7 @@ #' #' # Get a SpatRaster #' -#' x <- esp_get_ccaa("Galicia") +#' x <- esp_get_ccaa("Galicia", epsg = 3857) #' #' tile <- esp_getTiles(x, "IDErioja") #' diff --git a/README.Rmd b/README.Rmd index 771c6854..41ada548 100644 --- a/README.Rmd +++ b/README.Rmd @@ -271,7 +271,7 @@ Some packages recommended for visualization are: - [**tmap**](https://github.com/r-tmap/tmap) - [**mapsf**](https://riatelab.github.io/mapsf/) - [**ggplot2**](https://github.com/tidyverse/ggplot2) + - [**ggspatial**](https://github.com/paleolimbot/ggspatial) + [**tidyterra**](https://github.com/dieghernan/tidyterra). - [**leaflet**](https://rstudio.github.io/leaflet/) ## Citation diff --git a/README.md b/README.md index 353bcf7d..d2038eb6 100644 --- a/README.md +++ b/README.md @@ -253,7 +253,7 @@ Some packages recommended for visualization are: - [**tmap**](https://github.com/r-tmap/tmap) - [**mapsf**](https://riatelab.github.io/mapsf/) - [**ggplot2**](https://github.com/tidyverse/ggplot2) + - [**ggspatial**](https://github.com/paleolimbot/ggspatial) + [**tidyterra**](https://github.com/dieghernan/tidyterra). - [**leaflet**](https://rstudio.github.io/leaflet/) ## Citation diff --git a/man/layer_spatraster.Rd b/man/layer_spatraster.Rd index b1013441..ea54f423 100644 --- a/man/layer_spatraster.Rd +++ b/man/layer_spatraster.Rd @@ -24,7 +24,7 @@ plot tiles with ggplot2. # Get a SpatRaster -x <- esp_get_ccaa("Galicia") +x <- esp_get_ccaa("Galicia", epsg = 3857) tile <- esp_getTiles(x, "IDErioja")