Reads in csv files as exported by Prospect
read_prospect.Rd
Takes a csv file exported from Prospect and reads it in to R
along with the factor labels from the lookups.csv
file produced by
Prospect. When using this function you must first read the lookups.csv
file into R.
Arguments
- file
The file to be read in
- dictionary
The file in which the lookups reside, default is
lookups
- convert.date
Convert fields ending in
_dt
or_date
to date format- ...
arguments to be passed to
utils::read.csv()
.stringsAsFactors
is set toFALSE
withinread_prospect()
, re-specifying it in the call will throw an error.
Value
An object of class data.frame