fix vignette
This commit is contained in:
@@ -189,6 +189,7 @@ parse_rednerliste <- function(rednerliste_xml) {
|
||||
rolle_lang = d["rolle_lang",])
|
||||
}
|
||||
|
||||
#' @export
|
||||
write_to_csv <- function(tables, path="csv/", create=F) {
|
||||
check_directory(path, create)
|
||||
write.table(tables$redner, str_c(path, "redner.csv"))
|
||||
@@ -197,6 +198,7 @@ write_to_csv <- function(tables, path="csv/", create=F) {
|
||||
write.table(tables$comments, str_c(path, "comments.csv"))
|
||||
}
|
||||
|
||||
#' @export
|
||||
read_from_csv <- function(path="csv/") {
|
||||
list(redner = read.table(str_c(path, "redner.csv")) %>%
|
||||
tibble() %>%
|
||||
|
||||
Reference in New Issue
Block a user