knitr::opts_chunk$set(fig.width = 7, fig.asp = 0.618) knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(pkgTS)
Up to now following R files are part of the package:
dir("./../R/")
The data for the ggts_corona functions are a data.frame
/ tibble
with following structure:
Case_Type = Confirmed | Deaths
:tail(corona_data %>% dplyr::filter(Country == "Germany"))
Case_Type
:tail(uts_get_corona_data_wide( corona_data %>% dplyr::filter(Country == "Germany")))
Basic example plot of corona time series data:
ggts_cum_daily(corona_data, country = "Germany", weeks = 6)
The
Corona Virus Dashboard
provides analysis of the time series data provided by the Johns Hopkins University on GitHub. For links and references see the Dashboard-file Corona Virus Dashboard Web Site rsp. RMD-file Corona_Virus_TS_Dashboard.Rmd.
The Corona_Virus_TS_Dashboard.Rmd file is stored on GitHub repository.
The Corona Virus Dashboard Web Site is published as GitHub page
The data for the ggts_climate functions are a data.frame
/ tibble
with following structure:
Measure = Temperature | Precipitation
:head(monthly_climate_basel) tail(monthly_climate_basel)
Measure = CO2
:tail(monthly_co2_wide)
Basic example plot of climate time series data:
plot_monthly <- ggts_year_over_month(monthly_climate_basel %>% dplyr::filter(Measure == "Temperature"), period = Year) plot_monthly plot_monthly + ggplot2::coord_polar("x", start = pi) ggts_year_over_month(monthly_climate_basel, period = Year) + ggplot2::facet_wrap(~Measure, ncol = 1, scales = "free_y")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.