Skip to content

Commit

Permalink
Update links to the github repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kjir committed Jun 7, 2023
1 parent 749d2ca commit d8dc927
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
10 changes: 3 additions & 7 deletions README.Rmd
Expand Up @@ -17,23 +17,23 @@ knitr::opts_chunk$set(

<!-- badges: start -->
[![CRAN status](https://www.r-pkg.org/badges/version/tstools)](https://CRAN.R-project.org/package=tstools)
[![R-CMD-check](https://github.com/mbannert/tstools/workflows/R-CMD-check/badge.svg)](https://github.com/mbannert/tstools/actions)
[![R-CMD-check](https://github.com/kof-ch/tstools/workflows/R-CMD-check/badge.svg)](https://github.com/kof-ch/tstools/actions)
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)

[![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/grand-total/tstools?color=blue)](https://r-pkg.org/pkg/tstools)
<!-- badges: end -->

Plot official statistics' time series conveniently: automatic legends, highlight windows, stacked bar chars with positive and negative contributions, sum-as-line option, two y-axes with automatic horizontal grids that fit both axes and other popular chart types. 'tstools' comes with a plethora of defaults to let you plot without setting an abundance of parameters first, but gives you the flexibility to tweak the defaults. In addition to charts, 'tstools' provides a super fast, 'data.table' backed time series I/O that allows the user to export / import long format, wide format and transposed wide format data to various file types.

-> [pkgdown documentation](https://mbannert.github.io/tstools/) <-
-> [pkgdown documentation](https://kof-ch.github.io/tstools/) <-

## Installation

You can install the development version of tstools from [GitHub](https://github.com/) with:

``` r
# install.packages("remotes")
remotes::install_github("mbannert/tstools")
remotes::install_github("kof-ch/tstools")
```

## Example Use: Time Series Charts with Legends by Default
Expand Down Expand Up @@ -61,7 +61,3 @@ tsplot(
tsr = list("Johnson & Johnson" = tsl$JohnsonJohnson)
)
```




12 changes: 7 additions & 5 deletions README.md
Expand Up @@ -7,7 +7,7 @@

[![CRAN
status](https://www.r-pkg.org/badges/version/tstools)](https://CRAN.R-project.org/package=tstools)
[![R-CMD-check](https://github.com/mbannert/tstools/workflows/R-CMD-check/badge.svg)](https://github.com/mbannert/tstools/actions)
[![R-CMD-check](https://github.com/kof-ch/tstools/workflows/R-CMD-check/badge.svg)](https://github.com/kof-ch/tstools/actions)
[![Lifecycle:
stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)

Expand All @@ -26,7 +26,7 @@ defaults. In addition to charts, ‘tstools’ provides a super fast,
import long format, wide format and transposed wide format data to
various file types.

-\> [pkgdown documentation](https://mbannert.github.io/tstools/) \<-
\-\> [pkgdown documentation](https://kof-ch.github.io/tstools/) \<-

## Installation

Expand All @@ -35,7 +35,7 @@ You can install the development version of tstools from

``` r
# install.packages("remotes")
remotes::install_github("mbannert/tstools")
remotes::install_github("kof-ch/tstools")
```

## Example Use: Time Series Charts with Legends by Default
Expand All @@ -61,8 +61,10 @@ and use easily use 2 y-axis. (I know some argue those double axes are
fundamentally flawed, but my peers didn’t care and asked for it.)

``` r
tsplot("Air Passengers" = tsl$AirPassengers,
tsr = list("Johnson & Johnson" = tsl$JohnsonJohnson))
tsplot(
"Air Passengers" = tsl$AirPassengers,
tsr = list("Johnson & Johnson" = tsl$JohnsonJohnson)
)
```

<img src="man/figures/README-unnamed-chunk-2-1.png" width="100%" />

0 comments on commit d8dc927

Please sign in to comment.