class: center, middle, inverse, title-slide # Write your CV ## with R Pagedown ###
Ames R Ladies Workshop
with Anabelle Laurent
### 2020-11-12 --- # Why a CV with pagedown? - Tidy and professional resume 👔 with a minimum amount of time -- - Share your CV using HTML and PDF versions -- - Forget the struggle using Microsoft Word 😁 + updating your CV with pagedown will not create a messy final product -- - Have fun programming 💻 --- # How to get it done? 1) install the R package + `remotes::install_github('rstudio/pagedown')` + `install.packages('rmarkdown')` -- 2) download the Pagedown template + File -> New File -> R Markdown -> From Template -> HTML Resume {pagedown} <center><img src="images/find_template.jpeg" style="width: 70%" /></center> -- 3) Save the template in your folder --- # Quick overview of the template <center><img src="images/cvtemplate.jpeg" style="width: 80%" /></center> --- # Edit the template - Edit the main content + follow a specific structure (except the first section = self introduction) + make it your own by adding new sections such as: Awards/Grants, Conference presentations, Leadership, Training, etc. ```r Main ================================================================================ ``` -- - Edit the sidebar on the right + arbitrary content: not structured ```r Aside ================================================================================ ``` --- # Edit the main content (1/2) ```r Teaching Experience {data-icon=chalkboard-teacher} -------------------------------------------------------------------------------- ### Introduction to R Language for Beginners. Instructor of R and Data Mining Training Courses at SupStat Inc. Beijing, China 2014 fourth line is optional ``` - specify the title of the sub-section using `###` - first line = description - second line = location - third line = time `2014` or time period `2014-2016` , `2014-present` If description, location and time are not relevant put `N/A` Fourth line is optional and the content is arbitrary --- # Edit the main content (1/2) ```r Teaching Experience {data-icon=chalkboard-teacher} -------------------------------------------------------------------------------- ### Introduction to R Language for Beginners. Instructor of R and Data Mining Training Courses at SupStat Inc. Beijing, China 2014 fourth line is optional ``` - specify the title of the sub-section using `###` - first line = description - second line = location - third line = time `2014` or time period `2014-2016` , `2014-present` <center><img src="images/icon.jpeg" style="width: 60%" /></center> --- # Edit the main content (2/2) To write your content in two columns, use `:::concise` ```r ### Bioinformatician My Health Gene Technology Co., Ltd. Beijing, China 2015 - 2016 ::: concise - Analyzed whole-exome sequencing data. - Wrote analysis pipelines of ChIP-seq, single cell DNA-seq and single cell RNA-seq. - Studied tumor metastasis and wrote research reports. - Also did case studies to identify the genetic defect causing rare disease. ::: ``` <center><img src="images/columns.jpeg" style="width: 70%" /></center> --- # Use icons
- If you want to use an icon for the sections: visit [Fontawesome](https://fontawesome.com/icons?d=gallery) ```r Teaching Experience {data-icon=chalkboard-teacher} -------------------------------------------------------------------------------- ``` <center><img src="images/icon.jpeg" style="width: 50%" /></center> <center><img src="images/fontawesome.jpeg" style="width: 50%" /></center> --- # Edit the sidebar (1/2) - This section is not structured - Provide a picture, or an avatar or nothing - Customize the contact info section ```r Contact Info {#contact} -------------------------------------------------------------------------------- - <i class="fa fa-envelope"></i> alaurent@iastate.edu - <i class="fab fa-researchgate"></i> [ResearchGate](https://www.researchgate.net/profile/Anabelle_Laurent) - <i class="fa fa-linkedin"></i> [Linkedin](https://www.linkedin.com/in/anabelle-laurent-abb285113/?originalSubdomain=fr) - <i class="fas fa-rss"></i> [Professional Blog](https://www.anabellelaurent.com) ``` <center><img src="images/contactinfo.jpeg" style="width: 40%" /></center> --- # Edit the sidebar (2/2) Use social media icons available on [Fontawesome](https://fontawesome.com/icons?d=gallery) + select the one of interest + use the "class" <center><img src="images/envelope.jpeg" style="width: 70%" /></center> <center><img src="images/RG.jpeg" style="width: 70%" /></center> --- # Get rid off the sidebar from the second page Insert a new R chunck right after the YAML (`echo=FALSE`) ```r .pagedjs_page:not(:first-of-type) { --sidebar-width: 0rem; --sidebar-background-color: #ffffff; --main-width: calc(var(--content-width) - var(--sidebar-width)); --decorator-horizontal-margin: 0.2in; } ``` --- # Save your work
- Knit for saving a HTML version - uncomment the last line in the YAML to produce HTML and PDF versions ```r --- title: "Lijia Yu's resume" author: Lijia Yu date: "`r Sys.Date()`" output: pagedown::html_resume: # set it to true for a self-contained HTML page but it'll take longer to render self_contained: false # uncomment this line to produce HTML and PDF in RStudio: knit: pagedown::chrome_print --- ``` --- # Some resources and ideas
- [Pagedown tutorial by Yihui Xie and Romain Lesur](https://rstudio.github.io/pagedown/#resume) - [Kevin Rue-Albrecht' resume](https://kevinrue.github.io/post/writing-my-cv-using-pagedown/) - [Nick Strayer's resume](https://nickstrayer.me/#CVResume) --- class: middle, center ## Thank you
and you are ready for job hunting --- class: inverse background-image: url(https://media.giphy.com/media/RiykPw9tgdOylwFgUe/giphy.gif) background-size: 80% background-position: 50% 50%