Skip to content

Commit

Permalink
Merge branch 'develop' into 587-remove-frozen
Browse files Browse the repository at this point in the history
  • Loading branch information
jwestw committed Jan 9, 2024
2 parents e793fc1 + 4b13e3a commit dab8763
Show file tree
Hide file tree
Showing 50 changed files with 2,758 additions and 767 deletions.
11 changes: 11 additions & 0 deletions config/cellno_2022_schema.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[cell_no]
Deduced_Data_Type = "Int64"

[UNI_Count]
Deduced_Data_Type = "Int64"

[uni_employment]
Deduced_Data_Type = "Int64"

[uni_turnover]
Deduced_Data_Type = "Int64"
11 changes: 11 additions & 0 deletions config/civil_defence_detailed_schema.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[A]
Deduced_Data_Type = "str"

[B]
Deduced_Data_Type = "str"

[C]
Deduced_Data_Type = "str"

[CD]
Deduced_Data_Type = "str"
16 changes: 14 additions & 2 deletions config/construction_ni_schema.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Deduced_Data_Type = "Int64"
old_name = "current_sic"
Deduced_Data_Type = "Int64"

[legalstatus]
old_name = "legal status"
Deduced_Data_Type = "Int64"

[referencename]
old_name = "company name"
Deduced_Data_Type = "object"
Expand All @@ -26,6 +30,10 @@ Deduced_Data_Type = "Int64"
old_name = "ru_turnover"
Deduced_Data_Type = "Int64"

[enterprisereference]
old_name = "entref"
Deduced_Data_Type = "object"

[wowenterprisereference]
old_name = "wowref"
Deduced_Data_Type = "object"
Expand All @@ -34,6 +42,10 @@ Deduced_Data_Type = "object"
old_name = "ult FOC"
Deduced_Data_Type = "object"

[instance]
old_name = "instance"
Deduced_Data_Type = "Int64"

[200]
old_name = "q200"
Deduced_Data_Type = "str"
Expand Down Expand Up @@ -62,8 +74,8 @@ Deduced_Data_Type = "float64"
old_name = "q206"
Deduced_Data_Type = "float64"

[207 ]
old_name = "q207 "
[207]
old_name = "q207"
Deduced_Data_Type = "float64"

[209]
Expand Down
6 changes: 3 additions & 3 deletions config/construction_schema.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Possible_Categorical_Values = [100, 200, 201, 210, 211, 301, 302, 303, 304, 305,

[receiptdate]
Description = "Datetime format = %Y-%m-%d %H:%M:%S.%f+00"
Deduced_Data_Type = "datetime64"
Deduced_Data_Type = "datetime64ns"
Nullable = false
Current_Data_Type = ["None","str"]
Length = "nan"
Expand Down Expand Up @@ -360,7 +360,7 @@ Possible_Categorical_Values = ["WW", "BB", "FE", "GG", "JG", "HH", "ED", "KJ", "

[birthdate]
Description = "Datetime format = format=%d/%m/%Y"
Deduced_Data_Type = "datetime64"
Deduced_Data_Type = "datetime64ns"
Nullable = false
Current_Data_Type = "str"
Length = "nan"
Expand Down Expand Up @@ -420,7 +420,7 @@ Possible_categorical_Values = ["nan"]

[lastupdateddate]
Description = "Datetime format = %Y-%m-%d %H:%M:%S.%f+00"
Deduced_Data_Type = "datetime64"
Deduced_Data_Type = "datetime64ns"
Nullable = false
Current_Data_Type = ["None","str"]
Length = "nan"
Expand Down
10 changes: 5 additions & 5 deletions config/contributors_schema.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Possible_Categorical_Values = ["Clear", "Clear - overridden", "Form saved", "Cle

[statusencoded]
Description = "nan"
Deduced_Data_Type = "category"
Deduced_Data_Type = "Int64"
Nullable = false
Current_Data_Type = "Int64"
Length = 3
Expand All @@ -60,7 +60,7 @@ Possible_Categorical_Values = [100, 200, 201, 210, 211, 301, 302, 303, 304, 305,

[receiptdate]
Description = "Datetime format = %Y-%m-%d %H:%M:%S.%f+00"
Deduced_Data_Type = "datetime64"
Deduced_Data_Type = "datetime64ns"
Nullable = false
Current_Data_Type = ["None","str"]
Length = "nan"
Expand Down Expand Up @@ -360,7 +360,7 @@ Possible_Categorical_Values = ["WW", "BB", "FE", "GG", "JG", "HH", "ED", "KJ", "

[birthdate]
Description = "Datetime format = format=%d/%m/%Y"
Deduced_Data_Type = "datetime64"
Deduced_Data_Type = "datetime64ns"
Nullable = false
Current_Data_Type = "str"
Length = "nan"
Expand Down Expand Up @@ -430,7 +430,7 @@ Possible_Categorical_Values = ["ingestion"]

[createddate]
Description = "Datetime format = %Y-%m-%d %H:%M:%S.%f+00"
Deduced_Data_Type = "datetime64"
Deduced_Data_Type = "datetime64ns"
Nullable = false
Current_Data_Type = "str"
Length = ">=1"
Expand All @@ -450,7 +450,7 @@ Possible_Categorical_Values = ["data_migration", "Cheri", "Adela", "David"]

[lastupdateddate]
Description = "Datetime format = %Y-%m-%d %H:%M:%S.%f+00"
Deduced_Data_Type = "datetime64"
Deduced_Data_Type = "datetime64ns"
Nullable = false
Current_Data_Type = ["None","str"]
Length = "nan"
Expand Down
5 changes: 0 additions & 5 deletions config/cora_schema.toml

This file was deleted.

4 changes: 2 additions & 2 deletions config/long_response.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Possible_Categorical_Values = ["ingestion"]

[createddate]
Description = "Datetime format = %Y-%m-%d %H:%M:%S.%f+00"
Deduced_Data_Type = "datetime64"
Deduced_Data_Type = "datetime64ns"
Nullable = false
Current_Data_Type = "str"
Length = ">=1"
Expand All @@ -100,7 +100,7 @@ Possible_Categorical_Values = ["data_migration", "Cheri", "Adela", "David"]

[lastupdateddate]
Description = "Datetime format = %Y-%m-%d %H:%M:%S.%f+00"
Deduced_Data_Type = "datetime64"
Deduced_Data_Type = "datetime64ns"
Nullable = false
Current_Data_Type = ["None","str"]
Length = "nan"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Max_values = "nan"
Possible_Categorical_Values = ["nan"]


[manual_trimming]
[manual_trim]
Description = "nan"
Deduced_Data_Type = "boolean"
Nullable = false
Expand Down
40 changes: 38 additions & 2 deletions config/ni_responses_schema.toml → config/ni_full_responses.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,42 @@ Deduced_Data_Type = "Int64"
old_name = "current_sic"
Deduced_Data_Type = "Int64"

[legalstatus]
old_name = "legal status"
Deduced_Data_Type = "Int64"

[referencename]
old_name = "company name"
Deduced_Data_Type = "object"

[referencepostcode]
old_name = "company postcode"
Deduced_Data_Type = "object"

[employment]
old_name = "ru_emp"
Deduced_Data_Type = "Int64"

[turnover]
old_name = "ru_turnover"
Deduced_Data_Type = "Int64"

[enterprisereference]
old_name = "entref"
Deduced_Data_Type = "object"

[wowenterprisereference]
old_name = "wowref"
Deduced_Data_Type = "object"

[foc]
old_name = "ult FOC"
Deduced_Data_Type = "object"

[instance]
old_name = "instance"
Deduced_Data_Type = "Int64"

[200]
old_name = "q200"
Deduced_Data_Type = "str"
Expand Down Expand Up @@ -38,8 +74,8 @@ Deduced_Data_Type = "float64"
old_name = "q206"
Deduced_Data_Type = "float64"

[207 ]
old_name = "q207 "
[207]
old_name = "q207"
Deduced_Data_Type = "float64"

[209]
Expand Down
27 changes: 0 additions & 27 deletions config/ni_indicative_schema.toml

This file was deleted.

Loading

0 comments on commit dab8763

Please sign in to comment.