read_point_data: read_point_data This function reads in data from SVA's...

Description Usage Arguments Value Author(s)

View source: R/data.R

Description

Read in point data and clean it

Usage

1
2
3
4
5
6
7
8
read_point_data(
  path = system.file("sample_data_cwd.csv", package = "svamap"),
  encoding = "UTF-8",
  proj4str = RT90(),
  output_proj = WGS84(),
  long = "Gisy",
  lat = "Gisx"
)

Arguments

path

Path to file

encoding

Encoding of the text file

proj4str

projection of points in file

output_proj

the projection of the returned dataframe (default WGS84)

long

text string of the variable name that is longitude

lat

text string of the variable name that is latitude

Value

A SpatialPointsDataframe

Author(s)

Thomas Rosendal


SVA-SE/svamap documentation built on Sept. 25, 2020, 3:53 p.m.