From 48444b176c3bed7e96ccfacda4367a565bcd9dad Mon Sep 17 00:00:00 2001 From: "Scott H. Hawley" Date: Tue, 3 Mar 2020 15:18:06 -0600 Subject: [PATCH 1/3] added overly pedantic instructions For those with little to no experience with Rstudio. I had missed the part about "...with Rstudio" at instruction step 1, and was trying to run commands from the bash command line! --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0a8168b..961bef4 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,8 @@ The main files are: ## Want to use this to build your own CV/resume? -1. Fork, clone, download the zip of this repo to your machine with RStudio. +0. Install RStudio and the [googlesheets4](https://googlesheets4.tidyverse.org/index.html) package. +1. Fork this repository, then use [RStudio to clone and download](https://cfss.uchicago.edu/setup/git-with-rstudio/) the zip of your repo to your machine. 2. Make a copy of my [info-holding google sheet](https://docs.google.com/spreadsheets/d/14MQICF2F8-vf8CKPF1m4lyGKO6_thG-4aSwat1e2TWc/edit#gid=1730172225) and fill in your personal info for all the sheets (`positions`, `language_skills`, `text_blocks`, and `contact_info`). a. If you want to use CSV's instead of google sheets, update the contents of the CSVs stored in the `csvs/` folder. 3. Go through and personalize the supplementary text in the Rmd you desire (`index.Rmd` for CV, `resume.Rmd` for resume). From d6d3cde171f403e799905c547bdc3dfb80e23e87 Mon Sep 17 00:00:00 2001 From: "Scott H. Hawley" Date: Tue, 3 Mar 2020 16:36:26 -0600 Subject: [PATCH 2/3] even more pedantic. Original step 4 made it seem like it was the next thing needed to generate the CV. Users need to edit the URL of the doc, and actually run the Rmd file. Still instructions could be clarified, e.g. "Get the PDF out by viewing in your browser" by viewing WHAT, WHERE in your browser? Where does the output go? --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 961bef4..cb6e45b 100644 --- a/README.md +++ b/README.md @@ -25,14 +25,18 @@ The main files are: ## Want to use this to build your own CV/resume? -0. Install RStudio and the [googlesheets4](https://googlesheets4.tidyverse.org/index.html) package. +0. Install [RStudio](https://rstudio.com/) and the [googlesheets4](https://googlesheets4.tidyverse.org/index.html) package. + * When installing googlesheets4, if you get an error such as `ERROR: dependencies ‘curl’, ‘gargle’, ‘googledrive’, ‘httr’ are not available for package ‘googlesheets4’`, then you will need to go back and [resolve each missing dependency](https://community.rstudio.com/t/packages-installation-process-failed-on-linux-probably-due-to-missing-path-in-the-pkg-config-search-path/50619/3) before moving on. + * You also need to install the `knitr` and `tidyverse` packages and their dependencies. (The tidyverse package will take a long time.) 1. Fork this repository, then use [RStudio to clone and download](https://cfss.uchicago.edu/setup/git-with-rstudio/) the zip of your repo to your machine. 2. Make a copy of my [info-holding google sheet](https://docs.google.com/spreadsheets/d/14MQICF2F8-vf8CKPF1m4lyGKO6_thG-4aSwat1e2TWc/edit#gid=1730172225) and fill in your personal info for all the sheets (`positions`, `language_skills`, `text_blocks`, and `contact_info`). a. If you want to use CSV's instead of google sheets, update the contents of the CSVs stored in the `csvs/` folder. -3. Go through and personalize the supplementary text in the Rmd you desire (`index.Rmd` for CV, `resume.Rmd` for resume). -4. Print each unique `section` (as encoded in the `section` column of `positions.csv`) in your `.Rmd` with the command `position_data %>% print_section('education')`. -5. Get the PDF out by viewing in your browser and then doing `control/command + P` and selecting "print to pdf". Alternatively use `pagedown::chrome_print()` or `knit: pagedown::chrome_print` in RMD header. See [pagedown docs on printing](https://pagedown.rbind.io/#print-to-pdf) for more details. -6. Let the world know how awesome you are! (Also send me a tweet/email if you desired and I will broadcast your version of the CV on this repo and or twitter.) +3. Go through and personalize the supplementary text in the Rmd you desire (`index.Rmd` for CV, `resume.Rmd` for resume). + * Also edit the URL assignment of `positions_sheet_loc` in the Rmd file to point to the **shareable link** for your copy of the Google Sheet. +4. Run the file `index.Rmd` to generate the CV. +5. You can also print each unique `section` (as encoded in the `section` column of `positions.csv`) in your `.Rmd` with the command `position_data %>% print_section('education')`. +6. Get the PDF out by viewing in your browser and then doing `control/command + P` and selecting "print to pdf". Alternatively use `pagedown::chrome_print()` or `knit: pagedown::chrome_print` in RMD header. See [pagedown docs on printing](https://pagedown.rbind.io/#print-to-pdf) for more details. +7. Let the world know how awesome you are! (Also send me a tweet/email if you desired and I will broadcast your version of the CV on this repo and or twitter.) ## Looking for the old version with just a single CSV? From daa7bf93c798c822d84c722e6baddefe68e7dc87 Mon Sep 17 00:00:00 2001 From: "Scott H. Hawley" Date: Tue, 3 Mar 2020 17:40:06 -0600 Subject: [PATCH 3/3] Output! :-) Tell us to press "Knit". Pressing "Run" won't do anything, but "Knit" will. Found it earlier docs https://livefreeordichotomize.com/2019/09/04/building_a_data_driven_cv_with_r/ --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cb6e45b..48a0a61 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ The main files are: a. If you want to use CSV's instead of google sheets, update the contents of the CSVs stored in the `csvs/` folder. 3. Go through and personalize the supplementary text in the Rmd you desire (`index.Rmd` for CV, `resume.Rmd` for resume). * Also edit the URL assignment of `positions_sheet_loc` in the Rmd file to point to the **shareable link** for your copy of the Google Sheet. -4. Run the file `index.Rmd` to generate the CV. +4. Load file `index.Rmd` and press "Knit" at the top to generate the CV. 5. You can also print each unique `section` (as encoded in the `section` column of `positions.csv`) in your `.Rmd` with the command `position_data %>% print_section('education')`. 6. Get the PDF out by viewing in your browser and then doing `control/command + P` and selecting "print to pdf". Alternatively use `pagedown::chrome_print()` or `knit: pagedown::chrome_print` in RMD header. See [pagedown docs on printing](https://pagedown.rbind.io/#print-to-pdf) for more details. 7. Let the world know how awesome you are! (Also send me a tweet/email if you desired and I will broadcast your version of the CV on this repo and or twitter.)