toAuthorlist: toAuthorlist

Description Usage Arguments Details Value Examples

View source: R/toAuthorlist.R

Description

main function to produce the formatted author list and affiliation list in Word

Usage

1
2
3
4
5
toAuthorlist(
  source.csv = "authorlist.csv",
  target = "authorlist.docx",
  type = "numbered"
)

Arguments

source.csv

the path to the CSV document including the coauthor information, Default: 'authorlist.csv'

target

the path where you would like to save the produced Word document, Default: 'authorlist.docx'

type

the type of the affiliation numbering, could be "numbered" or "alphabeta", Default: 'numbered'. If 'numbered', the affiliation will be marked with numbers, otherwise the affiliation will be marked with letters as PNAS papers.

Details

This is the main function to produce the formatted author list and affiliation list in Word.

Value

the produced Word document

Examples

1
2
3
4
library(authorlist)
toAuthorlist(source.csv = "~/Downloads/authorlist.csv",
           target = "~/Downloads/authorlist.docx",
           type="numbered")

qiang-yang-ecology/authorlist documentation built on Dec. 22, 2021, 10:55 a.m.