write_wos_data {wosr} | R Documentation |
Write WoS data
Description
Writes each of the data frames in an object of class wos_data
to its
own csv file.
Usage
write_wos_data(wos_data, dir)
Arguments
wos_data |
An object of class |
dir |
Path to the directory where you want to write the files. If the
directory doesn't yet exist, |
Value
Nothing. Files are written to disk.
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, ".")
# Write files to "wos-data" dir
write_wos_data(wos_data, "wos-data")
## End(Not run)
[Package wosr version 0.3.0 Index]