colrev.loader.table.TableLoader

class TableLoader(*, filename, entrytype_setter, field_mapper, id_labeler, unique_id_field='', logger=<Logger colrev.loader.table (WARNING)>)[source]

Bases: Loader

Loads csv and Excel files (based on pandas)

Methods

get_nr_records

Get the number of records in the file

load

Load table entries from the source

load_records_list

The load_records_list must be implemented by the inheriting class (e.g., for ris/bib/...)

classmethod get_nr_records(filename)[source]

Get the number of records in the file

Return type:

int

load()

Load table entries from the source

Return type:

dict

load_records_list()[source]

The load_records_list must be implemented by the inheriting class (e.g., for ris/bib/…)

Return type:

list