-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathREADME.Rmd
63 lines (45 loc) · 1.94 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# tsviz
<!-- badges: start -->
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)
[![Travis build status](https://travis-ci.org/xtreamsrl/tsviz.svg?branch=master)](https://travis-ci.org/donlelef/tsviz)
[![CRAN status](https://www.r-pkg.org/badges/version/tsviz)](https://CRAN.R-project.org/package=tsviz)
[![CRAN monthly downloads](https://cranlogs.r-pkg.org/badges/tsviz)](https://cran.r-project.org/package=tsviz)
[![CRAN downloads](https://cranlogs.r-pkg.org/badges/grand-total/tsviz)](https://cran.r-project.org/package=tsviz)
[![Say Thanks!](https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg)](https://saythanks.io/to/donlelef)
<!-- badges: end -->
<img src="man/figures/tsviz.png" align="right"/>
An RStudio addin to provide easy and interactive time series visualization.
To be visible to the addin, time series must be stored in a dataframe in the global environment, with:
- at least a column of type *Date*
- at least a column of type *numeric*
## Installation
You can install the released version of tsviz from [CRAN](https://CRAN.R-project.org) with:
```{r cran_install, eval=FALSE}
install.packages("tsviz")
```
Or install the development version from Github:
```{r github_install, eval=FALSE}
devtools::install_github("donlelef/tsviz")
```
Once you have installed the package, you do not need to load it with `library()`, the addins are installed on your machine as part of the package install process.
## Example
First, let us load some suitable data:
```{r example, message=FALSE}
library(tsviz)
prices <- crypto_prices
```
Then, we can run the addin:
![Tutorial gif](man/figures/tsviz.gif)
That's it.