matchmaker_example: show the path to a matchmaker example file

Description Usage Arguments Value Author(s) Examples

View source: R/matchmaker_example.R

Description

show the path to a matchmaker example file

Usage

1

Arguments

name

the name of a matchmaker example file

Value

a path to a matchmaker example file

Author(s)

Zhian N. Kamvar

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
matchmaker_example() # list all of the example files

# read in example spelling dictionary
sd <- matchmaker_example("spelling-dictionary.csv")
read.csv(sd, stringsAsFactors = FALSE)

# read in example coded data
coded_data <- matchmaker_example("coded-data.csv")
coded_data <- read.csv(coded_data, stringsAsFactors = FALSE)
str(coded_data)
coded_data$date <- as.Date(coded_data$date)

matchmaker documentation built on Feb. 22, 2020, 1:11 a.m.