methods to verify that the data elements have all the parts required and create a report which identifies which elements still need work.
check_datagroup
(env
:DataIntakeEnv
, data_group_type
:Union
[Delivery
, Raw_Data
, Dataset
], light
:bool
=True
)
A function to check data folders and determine if the data folder registration
has been properly filled out. It checks for the following things:
- Have all the data groups in the folder been registered?
- Were any data groups modified since the last check?
- Have all the data groups in the folder had their descriptions and origin updated?
- Warning if a registered delivery is missing
Parameters
env : DataIntakeEnv
data_group_type : Data_Groups_Type
Which type of Data Folder are we checking
light : bool, optional
Skip file hashing in the comparison