SpatialCSV: Create SpatialPointsDataFrame from csv

Description Usage Arguments Value

Description

Creates an R SpatialPointsDataFrame from a csv

Usage

1
SpatialCSV(file, header_x, header_y, CRS, ID)

Arguments

file

path to *.csv file

header_x

character, column name containing x coordinate information

header_y

character, column name containing y coordinate information

CRS

(optional) character, proj4 string specifying the projection information of the points. If missing, the default is WGS84

ID

character, column name giving a unique ID for each entry. If Hydat 'station_number' entries are available for every station, this is the recommended column to use.

Value

SpatialPointsDataFrame


ECCC-MSC/Basin-Delineation documentation built on June 9, 2019, 7:29 p.m.