gather_data_from_csvs: Gather CV data from CSVs

Description Usage Arguments Examples

View source: R/gather_data_from_csvs.R

Description

Want to go old-school and just use plain CSVs (it _is_ simpler that way)? This function loads the desired data into the proper format.

Usage

1
2
3
4
5
6
gather_data_from_csvs(
  positions_loc = NULL,
  skills_loc = NULL,
  text_blocks_loc = NULL,
  contact_info_loc = NULL
)

Arguments

positions_loc

Location of positions csv

skills_loc

Location of skills csv

text_blocks_loc

Location of text blocks csv

contact_info_loc

location of contact info CSV

Examples

1
2
3
4
5
6
7
8
# 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
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'))

nstrayer/cvdown documentation built on Feb. 18, 2020, 12:35 a.m.