flag_sms: Flag SMS Data Frame

Description Usage Arguments Value Examples

View source: R/sms_functions.R

Description

Flag any missing datetimes within the onsite data Period of Record

Usage

1
flag_sms(tidy_sms)

Arguments

tidy_sms

A dataframe of the onsite data, in the tidy variable format

Value

A dataframe that has the missing datetimes filled in with NAs at the measured values and flagged 1000

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 
## Get the files to import
sms_files <- paste0('data/Groundwork/', dir(path = "data/Groundwork/", pattern = "*.csv"))

## Import the files
groundwork_df <- import_groundwork_files(sms_files)

## Tidy the Dataframe
tidy_sms <- tidy_groundwork(groundwork_df)

## Flag the Dataframe
sms_flagged <- flag_sms(tidy_sms)


## End(Not run)

btaute/powerResource documentation built on Sept. 4, 2020, 4:36 p.m.