diff --git a/DESCRIPTION b/DESCRIPTION index de59642..017ccd2 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,10 +2,14 @@ Package: dawaR Title: An API Wrapper for 'DAWA' - 'The Danish Address Web API' Date: 2024-11-23 Version: 0.2.6 -Authors@R: +Authors@R: c( person("Aleksander", "Bang-Larsen", , "contact@aleksanderbl.dk", role = c("aut", "cre", "cph"), - comment = c(ORCID = "0009-0007-7984-4650")) + comment = c(ORCID = "0009-0007-7984-4650")), + person("Agency of Climate Data", role = c("ctb"), + comment = c(NOTE = "The Danish Agency of Climate Data provides this + API for the public and have not actively contributed to the + development nor distribution in this package."))) Description: Functions for interacting with all sections of the official 'Danish Address Web API' (also known as 'DAWA') . The development of this package is diff --git a/R/get_data.R b/R/get_data.R index a6438f9..2b1fded 100644 --- a/R/get_data.R +++ b/R/get_data.R @@ -7,7 +7,9 @@ #' #' @return Returns either a dataframe with all the data for the specified #' section or a list with the same information. +#' #' @export +#' @family Data functions #' #' @examples #' x <- get_data("regioner") diff --git a/R/get_map_data.R b/R/get_map_data.R index a110456..fa2ab69 100644 --- a/R/get_map_data.R +++ b/R/get_map_data.R @@ -17,6 +17,7 @@ #' @inheritParams dawa #' #' @export +#' @family Data functions #' #' @examples #' \dontrun{ diff --git a/inst/CITATION b/inst/CITATION index 52754b6..a870b1c 100644 --- a/inst/CITATION +++ b/inst/CITATION @@ -6,7 +6,16 @@ bibentry( bibentry( bibtype = "misc", key = "apidawa", - title = "{DAWA}: {Danmarks Adressers Web API} at {Dataforsyningen} - Through {dawaR}", + title = "{DAWA}: {Denmark's Address Web API} at {The datadistribution} - Through {dawaR}", + author = person("Agency of Climate Data}"), + year = "2024", + url = "https://dawadocs.dataforsyningen.dk/dok/guides" +) + +bibentry( + bibtype = "misc", + key = "apidawa", + title = "{DAWA}: {Danmarks Adressers Web API} hos {Dataforsyningen} - Tilgået med {dawaR}", author = "Klimadatastyrelsen", year = "2024", url = "https://dawadocs.dataforsyningen.dk/dok/guides" diff --git a/inst/WORDLIST b/inst/WORDLIST index 1bd94c9..9b3c3de 100644 --- a/inst/WORDLIST +++ b/inst/WORDLIST @@ -40,8 +40,10 @@ cran cre CreativeWork crosstab +ctb daee Danmarks +datadistribution Datafordeleren Dataforsyningen dataforsyningen @@ -158,6 +160,7 @@ SystemRequirements Sї testthat tidyRSS +Tilgået tzones unlist uS diff --git a/man/get_data.Rd b/man/get_data.Rd index 3b05969..a0a8996 100644 --- a/man/get_data.Rd +++ b/man/get_data.Rd @@ -26,3 +26,8 @@ Get data from section x <- get_data("regioner") head(x) } +\seealso{ +Other Data functions: +\code{\link{get_map_data}()} +} +\concept{Data functions} diff --git a/man/get_map_data.Rd b/man/get_map_data.Rd index 40f6720..7e73ff0 100644 --- a/man/get_map_data.Rd +++ b/man/get_map_data.Rd @@ -33,3 +33,8 @@ ggplot2::ggplot(x) + ggplot2::geom_sf() } } +\seealso{ +Other Data functions: +\code{\link{get_data}()} +} +\concept{Data functions}