JSTOR_unpack_multiple_archives: Unpacks multiple zip files of JSTOR journal articles and...

Description Usage Arguments Value Examples

Description

Import journal articles and bibliographic data from multiple downloaded zipfiles, and reshape ready for simple text mining. For use with JSTOR's Data for Research datasets (http://dfr.jstor.org/).

Usage

1

Arguments

mydir

path to directory containing multiple zip files dowloaded from dfr.jstor.org (default is the current working directory)

Value

Returns a list of two items. First is "wordcounts", a Document Term Matrix of 1-grams, and second is 'bibliodata', a data frame of bibliographic information for all articles.

Examples

1
## multiple_archives <- JSTOR_unpack_multiple_archives(mydir = "~/my_data")

benmarwick/JSTORr documentation built on May 12, 2019, 12:59 p.m.