View source: R/get_templates.R
makeT | R Documentation |
Create a vignette from w_EntityInfo from wikiTools package (for galleries).
makeT(data, imageDir=NULL, imageDefault=NULL, language=c("en","es","ca"))
data |
A data-frame created with |
imageDir |
A directory where images will be found. The name must be the 'entity' column content follow by the image extension and the allowed formats are jpg, jpeg, gif, png and svg. |
imageDefault |
This image will be assigned if 'entity' image is not found in |
language |
a character string indicating the language of the graph (en=english (default); es=spanish; ca=catalan). |
a data frame wich includes a column of html formatted vignettes called 'info'.
Modesto Escobar, Department of Sociology and Communication, University of Salamanca. See https://sociocav.usal.es/blog/modesto-escobar/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.