How to make a baller CV in R!

Uncategorized

Do you ever find yourself in front of your R console pondering to yourself how much time consuming side-projects can I do on here?

The answer, quite simply, is that the limit does not exist.

People throughout the R community have created a wealth of insane things to do with our beautiful coding language, from art (which I really appreciate and would like to learn some day) to horoscope-generating bots!

If your current code is causing you mental anguish, why not treat yourself to a lil’ bit of FUN coding and converting your CV into a Latex-R-Code wonder! Besides looking slick, it’s just a nice exercise.

First of all, shout out to Julie Jung who did this way before me. If my explanations here are insufficient, then click on any of the links below to learn more from smarter people.

Okay, let’s get this party started.

1: MAKE SURE YOU CAN KNIT YOUR DOCUMENTS TO PDF. If you have never done this before, this can be a bit of a nightmare. You’re gonna have to venture into this (La)TeX business, which is scary at first, but will be okay, I promise. You can download a baby version (smaller and faster download, Basic TeX), here. A full-blown step-by-step for those who are truly lost (. . . no comment on how I have this link. . . ) can be found here.

2: Now you need to download a template! This is the most fun part! Imagine, you can use any template in the whole wide world. In the future, if you want to change what your CV looks like, all you need to do is change the template. This dude, SV Miller, has a bunch of ’em. The one for CVs specifically is here. He seems pretty funny and nice– as is most of the R community, so you know, if nice people can do this, so can we.

To get all of this sweet, sweet code, you can just download it (green button that says “Code”).

Once downloaded, add the template (called svm-latex-cv.tex) into your working directory. Now, I don’t know about you, but I made my own CV project so that way I could just drag this thingy to my RProject and move on with my life. Bam!

3: Okay. You have everything you need. NOW WHAT. Design that YAML (the top part and also the “rule book” (re: font, font size) for the rest of the document).

You can do a bunch of stuff. Check out Julie’s and SV Miller’s Websites for further inspiration.

What I wanted to get into here are little things that aren’t well covered in the tutorials and RMarkdown language reference guide (which is still pretty awesome though).

Chloe’s Tips N’ Tricks for a super cute CV because she spent way too much time googling it and now she has to do something with the information.

Indent! All you gotta do is start your line with “>”

   > Ph.D Student in Biology \hfill 2019- In progress  

Getting a part of your line to the other side of the page. (\hfill)

   > Ph.D Student in Biology \hfill 2019- In progress  

Cool symbols! Like ‡ and †

$\ddag$  ##This is a double dagger
$\dag$  ## This is a dagger

Websites and links! Okay, so here “+ Media Coverage” is just normal text. In the square brakets is what will become that “clickable” text that takes you to the website in parentheses.

+Media Coverage [Hespress Online](https://www.examples.com)

Tables! Yo, you like columns? WELL HERE YOU GO!

The input within the R chunk is a little bit of a mess, but here she is:

(More on this whole ordeal here)


```{r table2, echo=FALSE, message=FALSE, warnings=FALSE, results='asis'}
tabl <- "
| Source      |Amount          | Year  |
|:---------------|-------------:|------:|
| EXAMPLE 1    | XXX | 2020 |
|  |     |    |
| EXAMPLE 2   | XXX    |   2019 |
|  |     |    |
| EXAMPLE 3 | XXX    |    2015-2018 |
|  |     |    |
"
cat(tabl) # output the table in a format good for HTML/PDF/docx conversion
```

Where you place your colon (:) indicates if the line is left, right, or centered within the column.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s