read_wos_data {wosr} | R Documentation |
Read WoS data
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
read_wos_data(dir)
Arguments
dir |
Path to the directory where you wrote the CSV files. |
Value
An object of class wos_data
.
Examples
## 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)
[Package wosr version 0.3.0 Index]