Xinxin Yang's avatar
Xinxin Yang committed
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/convert_data.R
\name{import.fadn.csv}
\alias{import.fadn.csv}
\title{Imports a DG-AGRI csv into fadnUtils}
\usage{
import.fadn.csv(
  file.path,
  raw.f = NULL,
  sepS = ",",
  fadn.year = NA,
  fadn.country = NA,
  keep.csv = F
)
}
\arguments{
\item{file.path}{the full path of the file (the filename must be included)}

\item{raw.f}{the raw_str_map file to use. it must reside inside 'raw_str_maps; folder of the data.dir}

\item{sepS}{the separator of the csv files (by default ",")}

\item{fadn.year}{the year the csv files refers to (e.g. 2001)}

\item{fadn.country}{the three letter country code the csv files refers to (e.g. "ELL")}

\item{keep.csv}{if TRUE, copy the csv files; else do not copy}
}
\description{
It first call the convert.to.fadn.raw.rds and then convert.to.fadn.str.rds
}