JSONElementsCursor, which is identical to both how CrossrefElementsCursor and DataciteElemenrsCursors were and
RecordsCursor, which contains the methods from the WorksCursor 's classes from the Crossref and the DataCite modules, with an exception of the current_row_value method which called for an abstract implementation
I moved the two cursor classes to the data_source module, renamed the first cursor to NestedElementsCursor and tried to make their functionalities clearer through their docstrings.
The
json_source
module contains:JSONElementsCursor
, which is identical to both howCrossrefElementsCursor
andDataciteElemenrsCursors
were andRecordsCursor
, which contains the methods from theWorksCursor
's classes from the Crossref and the DataCite modules, with an exception of thecurrent_row_value
method which called for an abstract implementation