| Operation |
Public
main (args: String[],
) : void
|
Details:
[ Is static True. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Private
createGatDataset (gatList: List<GatEntry>,
gat_department_data_file: String,
closeManagementPath: String,
departmentAndServiceAreaPath: String,
outputFilePath: String,
hashMap: Map<String, String>,
maskSmallDepartments: boolean,
protectDepartmentCode: boolean,
) : void
|
Details:
|
Notes:
|
Creates a dataset consisting of GAT data and department data as a CSV file<br/>
|
[ Is static True. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Private
createNightshiftDepartmentActualPeriodicDataset (inputFilePath: String,
gatList: List<GatEntry>,
outputFilePath: String,
hashMap: Map<String, String>,
) : void
|
Details:
|
Notes:
|
Overview of departments with nightshifts, daily resolution, actual nightshift hours<br/>
|
[ Is static True. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Private
createNightshiftDepartmentsDataset (inputFilePath: String,
gatList: List<GatEntry>,
outputFilePath: String,
hashMap: Map<String, String>,
) : void
|
Details:
|
Notes:
|
Overview of departments having nightshifts, nightshifts summarised<br/>
|
[ Is static True. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Private
createAMUS2022Dataset (amus2022File: String,
departmentNameToCodeMappingFile: String,
amus2022_gatList: List<GatEntry>,
amus_2022_dataset: String,
hashMap: Map<String, String>,
) : void
|
Details:
|
Notes:
|
Generates a AMUS 2022 dataset as a CSV file.<br/>
|
[ Is static True. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Private
createAMUS2023AggregatedDataset (amus2023File: String,
gatList: List<GatEntry>,
amus_2023_dataset: String,
hashMap: Map<String, String>,
) : void
|
Details:
|
Notes:
|
Generates an aggregated AMUS 2023 dataset as a CSV file.<br/>
|
[ Is static True. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Private
createAggregatedEksternTurnoverDataset (turnoverFile: String,
turnoverDataset: String,
gat_department_data_file: String,
gatList: List<GatEntry>,
hashMap: Map<String, String>,
maskSmallDepartments: boolean,
protectedDepartmentCode: boolean,
percentageFormat: boolean,
) : void
|
Details:
|
Notes:
|
External turnover only, average yearly turnover per department<br/>
|
[ Is static True. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Private
createEksternTurnoverDataset (turnoverFile: String,
turnoverDataset: String,
gatList: List<GatEntry>,
hashMap: Map<String, String>,
protectedDepartmentCode: boolean,
percentageFormat: boolean,
) : void
|
Details:
|
Notes:
|
External turnover only, turnover percentage per month per department<br/>
|
[ Is static True. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Private
createTotalTurnoverDataset (turnoverFile: String,
turnoverDataset: String,
gatList: List<GatEntry>,
hashMap: Map<String, String>,
protectedDepartmentCode: boolean,
percentageFormat: boolean,
) : void
|
Details:
|
Notes:
|
Total (internal and external) turnover, average yearly turnover percentage per department<br/>
|
[ Is static True. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Private
mapGATDepartmentAndServiceArea (pathToAvdelingOgTjenesteomrCSV: String,
gatList: List<GatEntry>,
) : Map<String, String>
|
Details:
|
Notes:
|
Create a mapping between departments in gat and their corresponding service area<br/>@return<br/>
|
[ Is static True. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Private
createDepartmentDataMapping (gat_department_data: String,
) : Map<String, Department>
|
Details:
|
Notes:
|
Utility method that creates a mapping between an ID (period + department) and a Department object instance, used for mapping department data to a GAT entry.<br/>@return a List of maps establishing a mapping between ID and Department object instances.<br/>
|
[ Is static True. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Private
createFolder (parentPath: String,
folderName: String,
) : void
|
Details:
|
Notes:
|
Convenience method for creating new folders for new versions of datasets<br/>
|
[ Is static True. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
toString () : String
|
Details:
|
Notes:
|
toString() method that returns a String for printing Department data to a CSV, optionally replacing the department ID with a hashcode<br/>@param gatDeps<br/>@return<br/>
|
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
setId (id: String,
) : void
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
setPeriod (period: String,
) : void
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
setDepartmentCode (departmentCode: String,
) : void
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
setServiceArea (serviceArea: String,
) : void
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
setNarledelse (narledelse: String,
) : void
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
compareTo (comparestu: DatasetCreator,
) : int
|
Details:
|
Notes:
|
overriding the compareTo method of Comparable class<br/>
|
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
setNumberOfEmployees (numEmployees: int,
) : void
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
setNumberOfMaleEmployees (numMaleEmployees: int,
) : void
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
setNumberOfFemaleEmployees (numFemaleEmployees: int,
) : void
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
setNumPositionPercentageLow (numPositionPercentageLow: int,
) : void
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
setNumPositionPercentageMedium (numPositionPercentageMedium: int,
) : void
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
setNumPositionPercentageHigh (numPositionPercentageHigh: int,
) : void
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
setAge18_39 (age18_39: int,
) : void
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
setAge40_49 (age40_49: int,
) : void
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
setAge50_59 (age50_59: int,
) : void
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
setAge60_75 (age60_75: int,
) : void
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
getId () : String
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
getPeriod () : String
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
getDepartmentCode () : String
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
getServiceArea () : String
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
getNarledelse () : String
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
getNumberOfEmployees () : int
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
getNumberOfMaleEmployees () : int
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
getNumberOfFemaleEmployees () : int
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
getNumPositionPercentageLow () : int
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
getNumPositionPercentageMedium () : int
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
getNumPositionPercentageHigh () : int
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
getAge18_39 () : int
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
getAge40_49 () : int
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
getAge50_59 () : int
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|
Public
getAge60_75 () : int
|
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
|