npn_merge_geo_data: Merge Geo Data

View source: R/npn_geoserver.R

npn_merge_geo_dataR Documentation

Merge Geo Data

Description

Utility function to intersect point based observational data with Geospatial data values. This will take a data frame and append a new column to it.

Usage

npn_merge_geo_data(ras, col_label, df)

Arguments

ras

Raster containing geospatial data

col_label

The name of the column to append to the data frame

df

The data frame which to append the new column of geospatial point values. For this function to work, df must contain two columns: "longitude", and "latitude"

Value

The data frame, now appended with a new column for geospatial data numeric values.


rnpn documentation built on Sept. 11, 2024, 6:54 p.m.