sws_sites_2_spdf: Convert SWS Site Data in an SPDF

View source: R/sites_2_sp_points.R

sws_sites_2_spdfR Documentation

Convert SWS Site Data in an SPDF

Description

Reads in THE data frame of SWS site data and converts it into a Spatial Points Data Frame. Projection information is not included yet.

Usage

sws_sites_2_spdf(swssite_dataframe)

sws_sites_2_sf(swssite_dataframe)

Arguments

swssite_dataframe

A data frame of the SWS site data

Value

An SpatialPointsDataFrame version of the SWS side data. Projection information is not included yet.

Functions

  • sws_sites_2_sf: Convert SWS Site Data in SF Object

Examples

sws_sites <- readRDS("./private/data/clean/sws_sites.rds")
sws_sites_spdf <- sws_sites_2_spdf(sws_sites)
sws_sites_sf <- sws_sites_2_sf(sws_sites)

sustainablefarms/sflddata documentation built on April 19, 2022, 11:19 a.m.