Skip to content

Commit 7c987f0

Browse files
Add noRd to non-exported functions
1 parent 7570d7d commit 7c987f0

12 files changed

+6
-116
lines changed

R/dst_correct_url.R

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#' Corrects url encoding for Danish letters.
22
#'
33
#' @param url A build url.
4+
#' @noRd
45
dst_correct_url <- function(url) {
56
url <- stringr::str_replace_all(
67
string = url,

R/dst_date_parse.R

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#' @param dst_date A vector of length one or more with date formats like
44
#' 1982M12D09, 1982M12, 1982Q4 or 1982
55
#' @returns Returns the input date formatted to be Europe/Copenhagen
6+
#' @noRd
67
dst_date_parse <- function(dst_date) {
78
tz <- "Europe/Copenhagen"
89

R/dst_find_val_id.R

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#' @param variable The variable to search in.
66
#' @param values_text Character vector. The values you want to extract the IDs
77
#' for. If NULL, the returned value will be "*".
8+
#' @noRd
89
dst_find_val_id <- function(meta_data, variable, values_text = NULL) {
910
names(meta_data$values) <- toupper(names(meta_data$values))
1011

R/dst_meta_parse.R

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#' @param meta The returned meta data from the function meta_dst.
1010
#' @param lang The language from the orignal dst_meta function (due to an error
1111
#' in the API)
12+
#' @noRd
1213
dst_meta_parse <- function(meta, lang) {
1314
# Get basic info on the table.
1415
# The basics contains a description on what

R/dst_query_match.R

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#' @param query query to match against
88
#' @param format Format to specify match for csv import (not used)
99
#'
10+
#' @noRd
1011
dst_query_match <- function(table, lang, meta_data, query, format) {
1112
# if no meta data is supplied we download this to match the request.
1213
if (is.null(meta_data)) {

R/dst_value_limit.R

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#'
55
#' @param query Query object to analyse
66
#' @param dst_meta Meta data to filer query with
7+
#' @noRd
78
dst_value_limit <- function(query, dst_meta) {
89
# is the element in the list a "*"?
910
is_star <- lapply(query, function(x) {

man/dst_correct_url.Rd

-14
This file was deleted.

man/dst_date_parse.Rd

-18
This file was deleted.

man/dst_find_val_id.Rd

-21
This file was deleted.

man/dst_meta_parse.Rd

-21
This file was deleted.

man/dst_query_match.Rd

-22
This file was deleted.

man/dst_value_limit.Rd

-20
This file was deleted.

0 commit comments

Comments
 (0)