add_observed_nights: Add Observed Night using recording_time

View source: R/utils.R

add_observed_nightsR Documentation

Add Observed Night using recording_time

Description

Adds an observed_night field to the dataframe using the recording_time field. Uses Noon as the cut off for previous vs current night

Usage

add_observed_nights(df)

Arguments

df

Dataframe create from either get_sa_bulk_wavs() or get_ma_bulk_wavs()

Examples


## Not run: 
# Be sure to run df = clean_time_fields(df) first
df = add_observed_nights(df)

## End(Not run)


usgs/nabatr documentation built on Jan. 28, 2024, 7:10 a.m.