get_template2: Create a drop-down vignette for nodes from different items...

View source: R/get_templates.R

get_template2R Documentation

Create a drop-down vignette for nodes from different items (for galleries).

Description

Create a drop-down vignette for nodes from different items (for galleries).

Usage

get_template2(data, title=NULL, title2=NULL, text=NULL, wiki=NULL)

Arguments

data

data frame which contains the data.

title

column name which contains the first title of the vignette.

title2

column name which contains the secondary title of the vignette.

text

column name which contains the main text of the vignette.

wiki

column name which contains the wiki URL for the vignette.

Value

a character vector of html formatted vignettes.

Author(s)

Modesto Escobar, Department of Sociology and Communication, University of Salamanca. See https://sociocav.usal.es/blog/modesto-escobar/

Examples

## Not run: 
data("sociologists")
sociologists$html <- get_template2(sociologists, title="name",
  title2="birth_country", text="school")
plot(gallery2(sociologists, ntext="html"))

## End(Not run)

netCoin documentation built on Oct. 18, 2024, 5:10 p.m.