getUniqueComments: Checks comment to see if it already printed the comment for...

Description Usage Arguments Value

View source: R/sensorreading-data.R

Description

Takes the comments and compares the last comment and date to decide whether or not to print the comments

Usage

1
getUniqueComments(comments, date, lastDate, lastComm)

Arguments

comments

a single string of comments

date

the date for the current comments param formatted mm/dd/yyyy

lastDate

the last date for which it printed comments to compare

lastComm

the last comment it printed to compare

Value

selectedComm which is the new comment to print or empty character if the comments are the same as what it just printed


USGS-R/repgen documentation built on April 14, 2021, 2:47 p.m.