mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2024-11-22 13:30:23 +01:00
23 lines
527 B
Plaintext
23 lines
527 B
Plaintext
|
% Generated by roxygen2: do not edit by hand
|
||
|
% Please edit documentation in R/utils.r
|
||
|
\name{read_input}
|
||
|
\alias{read_input}
|
||
|
\title{Flexible file import based on extension}
|
||
|
\usage{
|
||
|
read_input(file, consider.na = c("NA", "\\"\\"", ""))
|
||
|
}
|
||
|
\arguments{
|
||
|
\item{file}{file name}
|
||
|
|
||
|
\item{consider.na}{character vector of strings to consider as NAs}
|
||
|
}
|
||
|
\value{
|
||
|
tibble
|
||
|
}
|
||
|
\description{
|
||
|
Flexible file import based on extension
|
||
|
}
|
||
|
\examples{
|
||
|
read_input("https://raw.githubusercontent.com/agdamsbo/cognitive.index.lookup/main/data/sample.csv")
|
||
|
}
|