knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

TimeticksR

The goal of TimeticksR is to transform Timeticks format to Datetime and the other way around.

Installation

Install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("afonsohbm/TimeticksR")

Example

This is a basic example which shows you how to use both functions in the package:

No support for timezone yet.

library(TimeticksR)
## basic example code

ticks2dt(637300138465420000)
dt2ticks("2020/07/09 11:00:00")


afonsohbm/TimeticksR documentation built on Sept. 25, 2020, 9:32 a.m.