lucC_data_preparation: Format data as tibble format

Description Usage Arguments Value Author(s) Examples

Description

Provide a format pattern to input data and make operations with Allen's relations and predicates. And return a tibble with values input

Usage

1

Arguments

data_tb

Dataframe. A time series file.

Value

Tibble with columns 'longitude', 'latitude', 'start_date', 'end_date', 'label', 'id', 'index'

Author(s)

Adeline M. Maciel

Examples

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

library(lucC)

lucC_starting_point()

# open a CSV example
file = "./inst/example_csv_file.csv"

# read a raw csv and turn into format lucC with 
input_tb_raw_csv <- file %>% 
  read.csv(sep = ",", header = TRUE) %>% 
  lucC_data_preparation()
input_tb_raw_csv

new_tb <- lucC_data_preparation(input_tb)


## End(Not run)

ammaciel/stilf documentation built on May 10, 2019, 10:28 a.m.