academic_observatory_workflows.orcid_telescope.batch

Attributes

BATCH_REGEX

ORCID_RECORD_REGEX

Classes

OrcidBatch

Describes a single ORCID batch and its related files/folders

Module Contents

academic_observatory_workflows.orcid_telescope.batch.BATCH_REGEX = '^\\d{2}(\\d|X)$'[source]
academic_observatory_workflows.orcid_telescope.batch.ORCID_RECORD_REGEX = '\\d{4}-\\d{4}-\\d{4}-\\d{3}(\\d|X)\\.xml$'[source]
class academic_observatory_workflows.orcid_telescope.batch.OrcidBatch(download_dir: str, transform_dir: str, batch_str: str)[source]

Describes a single ORCID batch and its related files/folders

download_dir[source]
transform_dir[source]
batch_str[source]
download_batch_dir[source]
download_log_file[source]
download_error_file[source]
manifest_file[source]
transform_upsert_file[source]
transform_delete_file[source]
property existing_records: List[str][source]

List of existing ORCID records on disk for this ORCID directory.

property missing_records: List[str][source]

List of missing ORCID records on disk for this ORCID directory.

property expected_records: List[str][source]

List of expected ORCID records for this ORCID directory. Derived from the manifest file

property blob_uris: List[str][source]

List of blob URIs from the manifest this ORCID directory.