makeT2: Create a vignette (for galleries).

View source: R/get_templates.R

makeT2R Documentation

Create a vignette (for galleries).

Description

Create a vignette from some specific information supplied (for galleries).

Usage

makeT2(entityLabel, image=NA, entityDescription=NA,
    byear=NA, bplace=NA, bcountry=NA, dyear=NA, dplace=NA, dcountry=NA,
    gender=NA, occupation=NA, language=c("en","es","ca"))

Arguments

entityLabel

A character string of names.

image

A character string of image paths.

entityDescription

A character string of descriptions.

byear

A character string of birth years.

bplace

A character string of birth places.

bcountry

A character string of birth countries.

dyear

A character string of death years.

dplace

A character string of death places.

dcountry

A character string of death countries.

gender

A character string of genders.

occupation

A character string of occupations.

language

a character string indicating the language of the graph (en=english (default); es=spanish; ca=catalan).

Value

a data frame wich includes a column of html formatted vignettes called 'info'.

Author(s)

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


Modesto-Escobar/netCoin-2.x documentation built on July 26, 2024, 11:15 p.m.