knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) library(magrittr)
library(awardsBot)
db <- import_awards_db(file.path(system.file('example_db.csv', package = 'awardsBot')))
knitr::kable(db)
Add some kind of template text where %s
will be replaced by the pi_name
, id
and title
. Use \n
for line breaks and test = TRUE
to check out the formatting before sending.
create_new_ticket_correspondence(db = db, "Dear %s, \n We are writing to you today about your NSF Arctic Sciences award %s %s. \n The Arctic Data Center Support Team", test = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.