From fdab71f4330d23973d72f435891da7e46be5d37f Mon Sep 17 00:00:00 2001 From: dieghernan Date: Sat, 13 Aug 2022 11:30:14 +0000 Subject: [PATCH] Update docs with pkgdev --- codemeta.json | 2 +- man/mapSpain-package.Rd | 72 +++++++---------------------------------- vignettes/mapSpain.Rmd | 6 ++-- 3 files changed, 15 insertions(+), 65 deletions(-) diff --git a/codemeta.json b/codemeta.json index bf180460..97331822 100644 --- a/codemeta.json +++ b/codemeta.json @@ -233,7 +233,7 @@ "applicationCategory": "cartography", "isPartOf": "https://ropenspain.es/", "keywords": ["rOpenSpain", "tiles", "r", "maps", "spatial", "rstats", "r-package", "municipalities", "Spain", "gisco", "provinces", "ign", "administrative-boundaries", "ccaa", "static-tiles", "spain", "cran", "ropenspain", "ggplot2", "gis"], - "fileSize": "2852.618KB", + "fileSize": "2849.304KB", "citation": [ { "@type": "SoftwareSourceCode", diff --git a/man/mapSpain-package.Rd b/man/mapSpain-package.Rd index bdaf1d66..b4f4099e 100644 --- a/man/mapSpain-package.Rd +++ b/man/mapSpain-package.Rd @@ -2,73 +2,25 @@ % Please edit documentation in R/mapSpain-package.R \docType{package} \name{mapSpain-package} -\alias{mapSpain-package} \alias{mapSpain} -\title{mapSpain package} -\source{ -\href{https://ec.europa.eu/eurostat/web/gisco/geodata}{GISCO webpage} -} +\alias{mapSpain-package} +\title{mapSpain: Administrative Boundaries of Spain} \description{ -\if{html}{\figure{logo.png}{options: width=120 alt="mapSpain logo" align='right'}} -This package provides Administrative Boundaries of Spain based on -the GISCO (Geographic Information System of the Commission) Eurostat -database and CartoBase SIANE from -Instituto Geográfico Nacional. -} -\details{ -\tabular{ll}{ - \tab \cr - \strong{Package} \tab mapSpain \cr - \strong{Type} \tab Package \cr - \strong{Version} \tab 0.6.2 \cr - \strong{Date} \tab 2022 \cr - \strong{License} \tab GPL-3 \cr - \strong{LazyLoad} \tab yes \cr -} -} -\section{COPYRIGHT NOTICE (IGN)}{ -This package uses data from CartoBase SIANE, provided by Instituto -Geografico Nacional (IGN): +\if{html}{\figure{logo.png}{options: style='float: right' alt='logo' width='120'}} -Atlas Nacional de España (ANE) -\href{https://creativecommons.org/licenses/by/4.0/deed.en}{CC BY 4.0} -\href{https://www.ign.es/}{ign.es} +Administrative Boundaries of Spain at several levels (Autonomous Communities, Provinces, Municipalities) based on the 'GISCO' 'Eurostat' database \url{https://ec.europa.eu/eurostat/web/gisco} and 'CartoBase SIANE' from 'Instituto Geografico Nacional' \url{https://www.ign.es/}. It also provides a 'leaflet' plugin and the ability of downloading and processing static tiles. } - -\section{COPYRIGHT NOTICE (GISCO)}{ -When data downloaded from GISCO -is used in any printed or electronic publication, -in addition to any other provisions -applicable to the whole Eurostat website, -data source will have to be acknowledged -in the legend of the map and -in the introductory page of the publication -with the following copyright notice: +\seealso{ +Useful links: \itemize{ -\item EN: (C) EuroGeographics for the administrative boundaries -\item FR: (C) EuroGeographics pour les limites administratives -\item DE: (C) EuroGeographics bezüglich der Verwaltungsgrenzen + \item \url{https://ropenspain.github.io/mapSpain/} + \item \url{https://github.com/rOpenSpain/mapSpain} + \item Report bugs at \url{https://github.com/rOpenSpain/mapSpain/issues} } -For publications in languages other than -English, French or German, -the translation of the copyright notice -in the language of the publication shall be used. - -If you intend to use the data commercially, -please contact EuroGeographics for -information regarding their license agreements. } +\author{ +\strong{Maintainer}: Diego Hernangómez \email{diego.hernangomezherrero@gmail.com} (\href{https://orcid.org/0000-0001-8457-4658}{ORCID}) (rOpenSpain) [copyright holder] -\references{ -See \code{citation("mapSpain")}. -} -\seealso{ -Useful links: -\itemize{ -\item \url{https://ropenspain.github.io/mapSpain/} -\item \url{https://github.com/rOpenSpain/mapSpain} -\item Report bugs at \url{https://github.com/rOpenSpain/mapSpain/issues} -} } -\keyword{package} +\keyword{internal} diff --git a/vignettes/mapSpain.Rmd b/vignettes/mapSpain.Rmd index 54da8b52..cb6c17cb 100644 --- a/vignettes/mapSpain.Rmd +++ b/vignettes/mapSpain.Rmd @@ -246,10 +246,9 @@ ggplot(munic.pop) + text = element_text(colour = "white"), legend.position = "bottom" ) +#> Error in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, : polygon edge not found ``` -plot of chunk thematic - ## mapSpain and giscoR If you need to plot Spain along with another countries, consider using @@ -297,10 +296,9 @@ ggplot(all_countries) + linetype = "dotted" ) ) +#> Error in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, : polygon edge not found ``` -plot of chunk giscoR - ## Working with tiles **mapSpain** provides a powerful interface for working with imagery.