You need to sign in or sign up before continuing.
Newer
Older
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/check_column_names.R
\name{check_file_type}
\alias{check_file_type}
\title{Check the type of load file}
\usage{
check_file_type(filepath)
}
\arguments{
\item{filepath}{A rds or csv file address.}
}
\value{
A data frame with cases corresponding to lines and variables to fields in the file.
}
\description{
This function checks the type of the load file and read this file.
If the file is not a csv or rds file,
the execution of the currently running R code will be stopped.
}