SciPy

tethne.readers.scopus module

Reader for Scopus CSV data files.

tethne.readers.scopus.corpus_from_dir(path)[source]
Parameters:

path : string

Path to directory of Scopus CSV data files.

Returns:

papers : list

A list of Paper objects.

tethne.readers.scopus.from_dir(path)[source]

Convenience function for generating a list of Paper from a directory of Scopus CSV data files.

Parameters:

path : string

Path to directory of Scopus CSV data files.

Returns:

papers : list

A list of Paper objects.

Raises:

IOError

Invalid path.

Examples

>>> from  tethne.readers as rd
>>> papers = rd.scopus.from_dir("/Path/to/datadir")
tethne.readers.scopus.read(datapath)[source]

Yields a list of Paper instances from a Scopus CSV data file.

Parameters:

datapath : string

Filepath to the Web of Science field-tagged data file.

Returns:

papers : list

A list of Paper instances.

Examples

>>> import tethne.readers as rd
>>> papers = rd.scopus.read("/Path/to/scopus.csv")
tethne.readers.scopus.read_corpus(path)[source]