Skip to content

Commit 9ad5ca6

Browse files
authored
Merge pull request #5 from leibniz-psychology/feat-csv-upload
feat: add csv upload script
2 parents 20800a8 + 55c9f19 commit 9ad5ca6

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Generated by roxygen2: do not edit by hand
22

3+
export(createCsv)
34
export(age)
45
export(ageDescriptives)
56
export(allStudies)

R/createCsv.R

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#' @title check data
2+
#' @description
3+
#' Helper function to check if the given dataset exists
4+
5+
createCsv <- function(file) {
6+
dataset <- read.csv(file)
7+
return(dataset)
8+
}

0 commit comments

Comments
 (0)