IncrementalUpdate

class semanticscholar.DatasetDiff.IncrementalUpdate(data)

This class represents a single diff between two sequential releases of a dataset.

Initialize IncrementalUpdate object.

Parameters:

data (dict) – Dataset diff data from the API.

keys() list

Returns a list of all keys in the API response data.

Return type:

list

property delete_files: list

List of files that contain deletes from the dataset.

Type:

list of str

property from_release: str

Baseline release for this diff.

Type:

str

property raw_data: dict

The API response data in its original JSON structure, represented as a dict.

Type:

dict

property to_release: str

Target release for this diff.

Type:

str

property update_files: list

List of files that contain updates to the dataset.

Type:

list of str