colrev.ops.data.Data

class colrev.ops.data.Data(*, review_manager, notify_state_transition_operation=True)[source]

Bases: Operation

Class supporting structured and unstructured data extraction, analysis and synthesis.

Initialize the instance.

Methods

check_precondition

Check the operation precondition.

conclude

Conclude the operation (stop Docker containers).

decorate

Decorator for operations.

get_record_ids_for_synthesis

Get the IDs of records for the synthesis.

main

rtype:

Any

notify

Notify the review_manager about the next operation.

reading_heuristics

Determine heuristics for the reading process.

setup_custom_script

Setup a custom data script.

Attributes

type

check_precondition()

Check the operation precondition.

Return type:

None

conclude()

Conclude the operation (stop Docker containers).

Return type:

None

classmethod decorate()

Decorator for operations.

Return type:

Callable

get_record_ids_for_synthesis(records)[source]

Get the IDs of records for the synthesis.

Return type:

list

notify(*, state_transition=True)

Notify the review_manager about the next operation.

Return type:

None

reading_heuristics()[source]

Determine heuristics for the reading process.

Return type:

list

setup_custom_script()[source]

Setup a custom data script.

Return type:

None