From 9275dc811c8bb14cd483d8e42047dfbe86e735f2 Mon Sep 17 00:00:00 2001 From: Fabian Beck Date: Fri, 6 May 2022 16:56:01 +0200 Subject: [PATCH] Flattened imports of rmd files --- mv-vis.Rmd | 23 ++++++++++++++++++++++- mv-vis_plain.Rmd | 25 ++++++++++++++++++++++++- main.Rmd => sections/about.Rmd | 21 --------------------- 3 files changed, 46 insertions(+), 23 deletions(-) rename main.Rmd => sections/about.Rmd (54%) diff --git a/mv-vis.Rmd b/mv-vis.Rmd index a284d2c..aed1a91 100644 --- a/mv-vis.Rmd +++ b/mv-vis.Rmd @@ -7,5 +7,26 @@ author: Fabian Beck and Shahid Latif description: "An introduction to data visualization that focuses on the explorative analysis of multivariate (tabular) data and uses interactive examples in R." --- -```{r child = 'main.Rmd'} +```{r setup, include=FALSE} +library(learnr) +library(ggplot2) +library(GGally) + +world <- read.csv("https://raw.githubusercontent.com/vis-uni-bamberg/mv-vis/main/data/world_dataset.csv", header=TRUE) + +``` + +```{r child = 'sections/section_1.Rmd'} +``` + +```{r child = 'sections/section_2.Rmd'} +``` + +```{r child = 'sections/section_3.Rmd'} +``` + +```{r child = 'sections/section_4.Rmd'} +``` + +```{r child = 'sections/about.Rmd'} ``` \ No newline at end of file diff --git a/mv-vis_plain.Rmd b/mv-vis_plain.Rmd index 8101328..dd3633e 100644 --- a/mv-vis_plain.Rmd +++ b/mv-vis_plain.Rmd @@ -8,5 +8,28 @@ description: "An introduction to data visualization that focuses on the explorat **You are viewing the archivable, non-interactive version of the document. To run the main interactive version, please visit: https://github.com/vis-uni-bamberg/mv-vis** -```{r child = 'main.Rmd'} +This version is citable via [DOI: 10.5281/zenodo.6523081](https://doi.org/10.5281/zenodo.6523081). + +```{r setup, include=FALSE} +library(learnr) +library(ggplot2) +library(GGally) + +world <- read.csv("https://raw.githubusercontent.com/vis-uni-bamberg/mv-vis/main/data/world_dataset.csv", header=TRUE) + +``` + +```{r child = 'sections/section_1.Rmd'} +``` + +```{r child = 'sections/section_2.Rmd'} +``` + +```{r child = 'sections/section_3.Rmd'} +``` + +```{r child = 'sections/section_4.Rmd'} +``` + +```{r child = 'sections/about.Rmd'} ``` \ No newline at end of file diff --git a/main.Rmd b/sections/about.Rmd similarity index 54% rename from main.Rmd rename to sections/about.Rmd index de0c49a..fe7c7d8 100644 --- a/main.Rmd +++ b/sections/about.Rmd @@ -1,24 +1,3 @@ -```{r setup, include=FALSE} -library(learnr) -library(ggplot2) -library(GGally) - -world <- read.csv("https://raw.githubusercontent.com/vis-uni-bamberg/mv-vis/main/data/world_dataset.csv", header=TRUE) - -``` - -```{r child = 'sections/section_1.Rmd'} -``` - -```{r child = 'sections/section_2.Rmd'} -``` - -```{r child = 'sections/section_3.Rmd'} -``` - -```{r child = 'sections/section_4.Rmd'} -``` - ## About This tutorial has been written by Fabian Beck and Shahid Latif, with technical support by Denis Artjuch. We thank [DataCampus UDE](https://www.uni-due.de/ub/datacampus/index.php), a data literacy initiative by University of Duisburg-Essen, for partly funding the project.