Description Usage Arguments Examples
View source: R/new_cv_printer.R
Setup CV printer object
1 2 3 4 5 6 | new_cv_printer(
cv_data,
pdf_mode = TRUE,
position_template = "\n ### {title}\n \n\n\n {loc}\n \n\n\n {institution}\n \n\n\n {timeline}\n \n\n\n \n\n\n {description_bullets}\n \n\n "
)
|
cv_data |
List of dataframes containging info for CV |
pdf_mode |
Boolean of if document is being exported as pdf and thus links should be stripped for placement at end. |
position_template |
Glue tempate string that is used to build each position entry. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Function to get sample csvs from package data store.
sample_data <- function(name) system.file(paste0('sample_csvs/', name), package = "cvdown")
# Run function on these sample datasets
data <- gather_data_from_csvs(positions_loc = sample_data('positions.csv'),
skills_loc = sample_data('language_skills.csv'),
text_blocks_loc = sample_data('text_blocks.csv'),
contact_info_loc = sample_data('contact_info.csv'))
# Setup CV printer
printer <- new_cv_printer(data, pdf_mode = TRUE)
# Print contact info
printer <- printer %>% print_contact_info()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.