KnitR/Templates

Introduction
This page about KnitR/Templates can be displayed as Wiki2Reveal slides. Single sections are regarded as slides and modifications on the slides will immediately affect the content of the slides. The following aspects of using, definition of Templates for KnitR are considered in detail:
 * (1) How do templates reduce workload for generation of R-Markdown documents
 * (2) Main Workflow - Load, Process, Display, Save
 * (3) Sharing of templates, template engines, template generator

Objective
This learning resource about KnitR Templates in Wikiversity has the objective to analyze template management under the FAIR Principle and as Open Educational Resources.

Learning Tasks / Activities
Learning activies focus on
 * What is a template and what is benefit and drawback of using templates?
 * What are main use-cases for templates?
 * How can templates support the generation of dynamic document generation? What are the requirements and constraints for learning resources?
 * How can template management and in conjunction with Open Educational Resources and Machine Learning be used for Intelligent Tutoring Systems ?

Workflow Templates
My name is. The age of is 24. My name is Anna Miller. The age of Anna is 25. My name is Bernie Smith. The age of Bernie is 30.
 * Loads a string from a file with filename mytemplate.txt.
 * The template may contain identfiers that are replaced with a specific content.
 * Now we have specific CSV file with 3 columns "firstname", "lastname" and "age".
 * for each row of the CSV file the raw template is used and replaced by the values in the CSV file.
 * A possible output with two data sets in the CSV file could be

Technical Implementation
Realize the workflow about in R.

Page Information
You can display this page as Wiki2Reveal slides

Wiki2Reveal
The Wiki2Reveal slides were created for the KnitR' and the Link for the Wiki2Reveal Slides was created with the link generator.


 * This page is designed as a PanDocElectron-SLIDE document type.
 * Source: Wikiversity https://en.wikiversity.org/wiki/KnitR/Templates
 * see Wiki2Reveal for the functionality of Wiki2Reveal.

KnitR/Vorlagen