Updates to files

This commit is contained in:
Kyle Belanger 2024-05-17 13:04:48 -04:00
parent d9257d1e33
commit 10a33c0784
7 changed files with 17 additions and 16 deletions

1
.gitignore vendored
View file

@ -39,3 +39,4 @@ vignettes/*.pdf
# ignore old resume # ignore old resume
old/ old/
.vscode/launch.json

View file

@ -8,7 +8,3 @@ position_data <- read_sheet(sheet_loc, sheet = "positions")
skills <- read_sheet(sheet_loc, sheet = "skills") skills <- read_sheet(sheet_loc, sheet = "skills")
contact_info <- read_sheet(sheet_loc, sheet = "contact_info") contact_info <- read_sheet(sheet_loc, sheet = "contact_info")
text_blocks <- read_sheet(sheet_loc, sheet = "text_block") text_blocks <- read_sheet(sheet_loc, sheet = "text_block")

View file

@ -19,7 +19,6 @@ knitr::opts_chunk$set(
results = 'asis' results = 'asis'
,echo = FALSE ,echo = FALSE
) )
library(tidyverse) library(tidyverse)
library(glue) library(glue)
@ -34,8 +33,6 @@ source('gather_data.R')
position_data <- position_data %>% position_data <- position_data %>%
filter(in_resume) filter(in_resume)
``` ```
@ -97,7 +94,7 @@ Education {data-icon=graduation-cap data-concise=true}
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
```{r} ```{r}
position_data %>% print_section('education') position_data %>% print_section("education")
``` ```

File diff suppressed because one or more lines are too long

Binary file not shown.

View file

@ -44,6 +44,8 @@ strip_links_from_cols <- function(data, cols_to_strip){
data data
} }
section_id <- "education"
# Take a position dataframe and the section id desired # Take a position dataframe and the section id desired
# and prints the section to markdown. # and prints the section to markdown.
print_section <- function(position_data, section_id){ print_section <- function(position_data, section_id){
@ -88,7 +90,7 @@ print_section <- function(position_data, section_id){
"{timeline}", "{timeline}",
"\n\n", "\n\n",
"{description_bullets}", "{description_bullets}",
"\n\n\n", "\n\n\n"
) )
} }

5
render_report.R Normal file
View file

@ -0,0 +1,5 @@
# Have to set this prior to running RMD Document
Sys.setenv(RSTUDIO_PANDOC="C:/Users/belangew/AppData/Local/Pandoc")
rmarkdown::render("kyle_resume.Rmd", output_format = "all")