read in and format input file for DeGAUSS container
Source:R/read_lat_lon_csv.R
read_lat_lon_csv.Rd
read in and format input file for DeGAUSS container
Arguments
- filename
name of input file, probably opt$filename if inside container
- nest_df
logical. If TRUE, data is nested on lat/lon. Defaults to FALSE.
- sf_out
logical. If TRUE, data is converted as an sf object. Defaults to FALSE.
- project_to_crs
(optional) if sf_out=TRUE, the crs to which input data is projected. If unspecified and sf_out=TRUE, the crs defaults to 4326.