make_authors: Make authors

Description Usage Arguments Value

Description

Cat the authors in latex-ready format

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
make_authors(authors = data.frame(name = c("Joe Brew"), email =
  c("joe@databrew.cc"), affilitation = c("isglobal,vu"), footnote =
  c("Corresponding Author"), stringsAsFactors = FALSE),
  institutions = data.frame(code = c("isglobal", "icl", "cism", "vu", "uva",
  "ma"), institution = c("Barcelona Institute for Global Health",
  "Imperial College London", "Centro de Investigação em Saúde de Manhiça",
  "VU University Amsterdam", "University of Amsterdam",
  "Maragra Açucar SA, Subsidiary of Illovo Sugar Ltd"), country = c("Spain",
  "UK", "Mozambique", "Netherlands", "Netherlands", "Mozambique"), address =
  c("c/ Rosselló, 132, 5è 2a. 08036, Barcelona, Spain",
  "South Kensington Campus, London SW7 2AZ, U.K.",     
  "Vila da Manhiça, Bairro Cambeve, Rua 12, Distrito da Manhiça, CP 1929, Maputo, Mozambique",
  "De Boelelaan 1105, 1081 HV Amsterdam, Netherlands",
  "REC E, Roetersstraat 11, Amsterdam, Netherlands",
  "CP 2789, Maputo, Mozambique"), stringsAsFactors = FALSE), cat_it = TRUE,
  include_address = TRUE, include_country = FALSE, seperator = "\n")

Arguments

authors

A dataframe with columns: name, email, affiliation, footnote

institutions

A dataframe with columns: code, institution, address

cat_it

Whether to cat (as opposed to return)

include_address

Whether to include the address

include_country

Whether to include the country; only relevant if include_address is FALSE

seperator

What to put between author names: usually a comma or line break

Value

Latex text


joebrew/malariaprediction documentation built on May 15, 2019, 1:40 p.m.