read_wos_data: Read WoS data

Description Usage Arguments Value Examples

View source: R/io.R

Description

Reads in a series of CSV files (which were written via write_wos_data) and places the data in an object of class wos_data.

Usage

1

Arguments

dir

Path to the directory where you wrote the CSV files.

Value

An object of class wos_data.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 

sid <- auth("your_username", password = "your_password")
wos_data <- pull_wos("TS = (dog welfare) AND PY = 2010", sid = sid)

# Write files to working directory
write_wos_data(wos_data, ".")
# Read data back into R
wos_data <- read_wos_data(".")

## End(Not run)

wosr documentation built on May 1, 2019, 10:18 p.m.