inst/shiny/showcase/shinychord_readr_dygraphs/readme.md

This is a demonstration of how to use shinychords to read and parse a csv file that contains a time-series, then to plot the data using a dygraph into a shiny app.

If you don't have available a csv file with a time series, you can download wx_ames.csv. This file describes the weather in Ames, Iowa, for the month of January 2014. The data was obtained from the Weather Underground API, using Alex Shum's rwunderground package.

To read and parse the csv file, the development version of Hadley's readr package is used.

Dygraphs are used to plot time-series, although we are using a dataframe to supply the data.

The code for the functions ch_read_delim and ch_dygraph, used to generate the shinychords, can be found at Github, as can its package shinychord.



ijlyttle/shinychord documentation built on May 18, 2019, 3:41 a.m.