From 20d58b793d56b8a5ceb4c0c62923a0ceab8538e0 Mon Sep 17 00:00:00 2001 From: aleksanderbl29 <73799306+aleksanderbl29@users.noreply.github.com> Date: Wed, 27 Nov 2024 23:04:04 +0100 Subject: [PATCH] Import read csv functions from utils --- NAMESPACE | 2 ++ R/dst_get_data.R | 1 + 2 files changed, 3 insertions(+) diff --git a/NAMESPACE b/NAMESPACE index a83d503..c2f0446 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -5,3 +5,5 @@ export(dst_get_data) export(dst_get_tables) export(dst_meta) export(dst_search) +importFrom(utils,read.csv) +importFrom(utils,read.csv2) diff --git a/R/dst_get_data.R b/R/dst_get_data.R index 6ca86a1..2d5aa6b 100644 --- a/R/dst_get_data.R +++ b/R/dst_get_data.R @@ -15,6 +15,7 @@ #' @param value_presentation For now, "value" or "default" #' @export #' @family Data retrival functions +#' @importFrom utils read.csv read.csv2 dst_get_data <- function(table, ..., query = NULL, parse_dst_tid = TRUE, lang = "da", meta_data = NULL, format = "CSV", value_presentation = "Value"){