create_abstractbook | R Documentation |
Create a book of abstracts given a dataframe or tibble.
create_abstractbook(
data = NULL,
path = NULL,
filename = NULL,
title.column = NULL,
authors.column = NULL,
affiliation.column = NULL,
text.column = NULL,
frontpage = NULL,
toc = TRUE,
toc.title = "Index",
title.cex = 22,
authors.cex = 16,
affiliations.cex = 14,
text.cex = 14,
keep.files = FALSE,
template = NULL
)
data |
a data frame including titles, author names, affiliations and abstracts. |
path |
Character. Path to folder where the PDF file will be saved. |
filename |
Character. Filename of the pdf. If NULL, default is "AbstractBook". |
title.column |
Character. Name of the column in |
authors.column |
Character. Name of the column in |
affiliation.column |
Character. Name of the column in |
text.column |
Name of the column in |
frontpage |
Character. Path to PDF file to be inserted before the book of abstracts (as front page and/or introduction). |
toc |
Logical. If TRUE, a Table of Contents will be included. |
toc.title |
Character. Title to name the Table of Contents. Default is "Index". |
title.cex |
Text font size used for the title. Default is 22. |
authors.cex |
Text font size used for the authors' names. Default is 16. |
affiliations.cex |
Text font size used for the affiliation addresses Default is 14. |
text.cex |
Text font size used for the abstract main text body. Default is 14. |
keep.files |
Logical. Keep the RMarkdown template and associated files in the output folder? Default is FALSE. |
template |
Character (optional) RMarkdown template to use. If not provided,
using the default template included in |
You can copy and modify at your convenience this Google form template to retrieve abstract information which will match labeleR's requirements for a straightforward use.
A PDF file named after filename
is saved on disk, in the folder defined
by path
. If keep.files = TRUE
, an RMarkdown will also
appear in the same folder.
Ignacio Ramos-Gutierrez, Julia G. de Aledo, Jimena Martín-Mateo, Francisco Rodriguez-Sanchez
create_abstractbook(
data=abstract.table,
path = "labeleR_output",
filename = "congress_abstractbook",
title.column = "abstract_title",
authors.column = "authors",
affiliation.column = "affiliation",
text.column = "abstract_text",
title.cex = 20,
authors.cex = 15,
affiliations.cex = 14,
text.cex = 12,
frontpage = "Congress_frontpage.pdf"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.