From 34c1885f3e24338d48796e21f9e0fa44bdd8c187 Mon Sep 17 00:00:00 2001 From: "Christian B. Knudsen" Date: Thu, 19 Sep 2024 14:13:50 +0200 Subject: [PATCH] =?UTF-8?q?styr=20p=C3=A5=20parametre=20i=20dokumenation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- R/get_authors.R | 3 ++- R/get_subcollection.R | 2 +- R/get_text.R | 3 ++- man/get_authors.Rd | 5 ++++- man/get_subcollections.Rd | 2 +- man/get_text.Rd | 5 ++++- 6 files changed, 14 insertions(+), 6 deletions(-) diff --git a/R/get_authors.R b/R/get_authors.R index bf4c266..90fee88 100644 --- a/R/get_authors.R +++ b/R/get_authors.R @@ -2,6 +2,7 @@ #' #' Hjælpe funktion til at returnere forfattere fra text collections #' +#' @param q søgestreng #' @return A tibble containing SVARET! #' @examples #' # Eksempel på brug af funktionen @@ -10,6 +11,6 @@ #' #' -get_authors <- function(){ +get_authors <- function(q){ } diff --git a/R/get_subcollection.R b/R/get_subcollection.R index 2d3c1d3..866eb2a 100644 --- a/R/get_subcollection.R +++ b/R/get_subcollection.R @@ -5,7 +5,7 @@ #' @return A tibble containing SVARET! #' @examples #' # Eksempel på brug af funktionen -#' get_text(q = "helsinge") +#' get_text() #' @export #' #' diff --git a/R/get_text.R b/R/get_text.R index ffb9d41..919a389 100644 --- a/R/get_text.R +++ b/R/get_text.R @@ -2,6 +2,7 @@ #' #' søger i ADL #' +#' @param q søgestreng #' @return A tibble containing SVARET! #' @examples #' # Eksempel på brug af funktionen @@ -10,7 +11,7 @@ #' #' -get_text <- function(){ +get_text <- function(q){ } diff --git a/man/get_authors.Rd b/man/get_authors.Rd index 454aba2..e852a40 100644 --- a/man/get_authors.Rd +++ b/man/get_authors.Rd @@ -4,7 +4,10 @@ \alias{get_authors} \title{Søg forfattere fra textcollections} \usage{ -get_authors() +get_authors(q) +} +\arguments{ +\item{q}{søgestreng} } \value{ A tibble containing SVARET! diff --git a/man/get_subcollections.Rd b/man/get_subcollections.Rd index b5cfb32..ee95aaa 100644 --- a/man/get_subcollections.Rd +++ b/man/get_subcollections.Rd @@ -14,5 +14,5 @@ returnerer subcollections fra text collections } \examples{ # Eksempel på brug af funktionen -get_text(q = "helsinge") +get_text() } diff --git a/man/get_text.Rd b/man/get_text.Rd index 6cee69e..d4ad9fe 100644 --- a/man/get_text.Rd +++ b/man/get_text.Rd @@ -4,7 +4,10 @@ \alias{get_text} \title{Søg ADL} \usage{ -get_text() +get_text(q) +} +\arguments{ +\item{q}{søgestreng} } \value{ A tibble containing SVARET!