lucC_standard_date_events: lucC Apply TWDTW from SITS Format

Description Usage Arguments Value Author(s) Examples

View source: R/lucC_standard_date_events.R

Description

Create two new columns in tibble with standard date in order to extract events

Usage

1
2
lucC_standard_date_events(data_tb = NULL, 
month_year = "09", day_month = "01")

Arguments

data_tb

Tibble. A tibble with values in sits format

month_year

Character. A month of the year in two digits (01 to 12)

day_month

Character. A day of the month in two digits (01 to 31). Depends the character calendar month.

Value

Tibble containing two new columns with start_date and end_date in a predefined standard range ensurer

Author(s)

Adeline M. Maciel

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 

library(lucC)

data("example_TWDTW")
example_TWDTW

# alter start_date and end_date to a especific range in 
# order to extract events
example_1.tb <- example_TWDTW %>% 
  lucC_standard_date_events(data_tb = ., 
  month_year = "09", day_month = "01")

example_1.tb


## End(Not run)

ammaciel/lucC documentation built on Oct. 7, 2017, 2:56 p.m.