SheetReader
- class SheetReader(df, *, sort_middle_authors=True)[source]
Bases:
Reader
Read from a pandas dataframe.
Initialize the sheet reader.
- Parameters
df (
DataFrame
) – The dataframe representing the authorship. Find an example of a spreadsheet following the appropriate format at https://docs.google.com/spreadsheets/d/1Fo1YH3ZzOVrQ4wzKnBm6sPha5hZG66-u-uSMDGUvguIsort_middle_authors (
bool
) – Should the middle authors (i.e., ones that don’t have “Lead” or “Senior” in their role column) be automatically sorted by last name alphabetical order? Defaults to true, since middle authorship order isn’t usually meaningful.
Methods Summary
Get authors and institutions.
Methods Documentation