From 9a465e173e5368643e02db1af701f9b2bddfe853 Mon Sep 17 00:00:00 2001 From: Aurelius Wendelken Date: Fri, 17 May 2024 09:21:16 +0200 Subject: [PATCH] added date to tables 2012 and 2022 --- data/flensburg_sozialatlas.sql | 184 ++++++++++++++++----------------- 1 file changed, 92 insertions(+), 92 deletions(-) diff --git a/data/flensburg_sozialatlas.sql b/data/flensburg_sozialatlas.sql index 9197bbb..f58fa7b 100644 --- a/data/flensburg_sozialatlas.sql +++ b/data/flensburg_sozialatlas.sql @@ -997,91 +997,91 @@ INSERT INTO employed_with_pension_insurance_by_districts (year, district_id, res (2019, 1, 1424, 46.7), (2020, 1, 1409, 47.0), (2021, 1, 1593, 50.6), -(2022, 1, ), +(2022, 1, 1707, 54.0), (2017, 2, 1505, 39.6), (2018, 2, 1614, 42.5), (2019, 2, 1618, 42.7), (2020, 2, 1644, 43.9), (2021, 2, 1768, 46.0), -(2022, 2, ), +(2022, 2, 1931, 48.2), (2017, 3, 3599, 42.6), (2018, 3, 3682, 43.7), (2019, 3, 3834, 45.2), (2020, 3, 3850, 45.1), (2021, 3, 4164, 47.5), -(2022, 3, ), +(2022, 3, 4236, 48.2), (2017, 4, 2388, 47.2), (2018, 4, 2472, 48.6), (2019, 4, 2452, 48.8), (2020, 4, 2394, 48.6), (2021, 4, 2451, 49.1), -(2022, 4, ), +(2022, 4, 2593, 50.7), (2017, 5, 2393, 49.3), (2018, 5, 2415, 51.4), (2019, 5, 2454, 52.2), (2020, 5, 2457, 52.8), (2021, 5, 2517, 53.7), -(2022, 5, ), +(2022, 5, 2592, 54.5), (2017, 6, 2500, 53.6), (2018, 6, 2531, 53.8), (2019, 6, 2551, 54.0), (2020, 6, 2488, 53.4), (2021, 6, 2566, 54.6), -(2022, 6, ), +(2022, 6, 2556, 53.0), (2017, 7, 1507, 52.5), (2018, 7, 1550, 53.1), (2019, 7, 1590, 54.3), (2020, 7, 1583, 55.7), (2021, 7, 1681, 56.5), -(2022, 7, ), +(2022, 7, 1705, 55.6), (2017, 8, 2177, 44.1), (2018, 8, 2265, 45.5), (2019, 8, 2418, 47.5), (2020, 8, 2445, 48.2), (2021, 8, 2598, 51.2), -(2022, 8, ), +(2022, 8, 2665, 50.7), (2017, 9, 2993, 48.5), (2018, 9, 3085, 49.4), (2019, 9, 3091, 50.3), (2020, 9, 3096, 51.0), (2021, 9, 3222, 52.6), -(2022, 9, ), +(2022, 9, 3288, 52.9), (2017, 10, 2299, 53.3), (2018, 10, 2320, 53.8), (2019, 10, 2410, 54.8), (2020, 10, 2337, 53.9), (2021, 10, 2406, 56.1), -(2022, 10, ), +(2022, 10, 2432, 55.9), (2017, 11, 4381, 50.2), (2018, 11, 4471, 50.6), (2019, 11, 4627, 51.3), (2020, 11, 4619, 51.4), (2021, 11, 4740, 52.9), -(2022, 11, ), +(2022, 11, 4843, 53.9), (2017, 12, 2588, 52.6), (2018, 12, 2623, 53.4), (2019, 12, 2614, 54.4), (2020, 12, 2580, 54.0), (2021, 12, 2676, 56.0), -(2022, 12, ), +(2022, 12, 2755, 56.9), (2017, 13, 1627, 52.6), (2018, 13, 1700, 53.0), (2019, 13, 1779, 53.2), (2020, 13, 1887, 53.6), (2021, 13, 1972, 53.8), -(2022, 13, ); +(2022, 13, 1998, 53.3); @@ -1105,91 +1105,91 @@ INSERT INTO unemployed_residents_by_districts (year, district_id, residents) VAL (2019, 1, 218), (2020, 1, 252), (2021, 1, 226), -(2022, 1, ), +(2022, 1, 167), (2017, 2, 390), (2018, 2, 360), (2019, 2, 343), (2020, 2, 450), (2021, 2, 383), -(2022, 2, ), +(2022, 2, 350), (2017, 3, 933), (2018, 3, 856), (2019, 3, 754), (2020, 3, 927), (2021, 3, 823), -(2022, 3, ), +(2022, 3, 727), (2017, 4, 281), (2018, 4, 259), (2019, 4, 270), (2020, 4, 350), (2021, 4, 304), -(2022, 4, ), +(2022, 4, 251), (2017, 5, 300), (2018, 5, 276), (2019, 5, 251), (2020, 5, 288), (2021, 5, 286), -(2022, 5, ), +(2022, 5, 229), (2017, 6, 229), (2018, 6, 204), (2019, 6, 202), (2020, 6, 230), (2021, 6, 205), -(2022, 6, ), +(2022, 6, 223), (2017, 7, 241), (2018, 7, 239), (2019, 7, 213), (2020, 7, 238), (2021, 7, 226), -(2022, 7, ), +(2022, 7, 196), (2017, 8, 292), (2018, 8, 304), (2019, 8, 296), (2020, 8, 359), (2021, 8, 327), -(2022, 8, ), +(2022, 8, 276), (2017, 9, 452), (2018, 9, 456), (2019, 9, 431), (2020, 9, 567), (2021, 9, 427), -(2022, 9, ), +(2022, 9, 387), (2017, 10, 278), (2018, 10, 278), (2019, 10, 241), (2020, 10, 335), (2021, 10, 303), -(2022, 10, ), +(2022, 10, 232), (2017, 11, 512), (2018, 11, 517), (2019, 11, 477), (2020, 11, 614), (2021, 11, 532), -(2022, 11, ), +(2022, 11, 440), (2017, 12, 266), (2018, 12, 265), (2019, 12, 248), (2020, 12, 310), (2021, 12, 276), -(2022, 12, ), +(2022, 12, 218), (2017, 13, 52), (2018, 13, 53), (2019, 13, 54), (2020, 13, 98), (2021, 13, 85), -(2022, 13, ); +(2022, 13, 82); @@ -1274,121 +1274,121 @@ CREATE INDEX IF NOT EXISTS housing_benefit_by_districts_year_district_id_idx ON INSERT INTO housing_benefit_by_districts (year, district_id, residents) VALUES (2011, 1, 130), -(2012, 1, ), +(2012, 1, 127), (2017, 1, 96), (2018, 1, 133), (2019, 1, 119), (2020, 1, 92), (2021, 1, 116), -(2022, 1, ), +(2022, 1, 121), (2011, 2, 207), -(2012, 2, ), +(2012, 2, 178), (2017, 2, 114), (2018, 2, 165), (2019, 2, 218), (2020, 2, 172), (2021, 2, 172), -(2022, 2, ), +(2022, 2, 272), (2011, 3, 584), -(2012, 3, ), +(2012, 3, 567), (2017, 3, 413), (2018, 3, 165), (2019, 3, 571), (2020, 3, 722), (2021, 3, 523), -(2022, 3, ), +(2022, 3, 717), (2011, 4, 228), -(2012, 4, ), +(2012, 4, 240), (2017, 4, 194), (2018, 4, 212), (2019, 4, 180), (2020, 4, 189), (2021, 4, 252), -(2022, 4, ), +(2022, 4, 327), (2011, 5, 274), -(2012, 5, ), +(2012, 5, 277), (2017, 5, 239), (2018, 5, 244), (2019, 5, 204), (2020, 5, 223), (2021, 5, 258), -(2022, 5, ), +(2022, 5, 322), (2011, 6, 280), -(2012, 6, ), +(2012, 6, 355), (2017, 6, 170), (2018, 6, 295), (2019, 6, 216), (2020, 6, 211), (2021, 6, 163), -(2022, 6, ), +(2022, 6, 305), (2011, 7, 173), -(2012, 7, ), +(2012, 7, 204), (2017, 7, 192), (2018, 7, 242), (2019, 7, 216), (2020, 7, 231), (2021, 7, 204), -(2022, 7, ), +(2022, 7, 257), (2011, 8, 229), -(2012, 8, ), +(2012, 8, 415), (2017, 8, 182), (2018, 8, 191), (2019, 8, 211), (2020, 8, 227), (2021, 8, 252), -(2022, 8, ), +(2022, 8, 261), (2011, 9, 353), -(2012, 9, ), +(2012, 9, 350), (2017, 9, 256), (2018, 9, 293), (2019, 9, 266), (2020, 9, 292), (2021, 9, 328), -(2022, 9, ), +(2022, 9, 359), (2011, 10, 337), -(2012, 10, ), +(2012, 10, 360), (2017, 10, 360), (2018, 10, 375), (2019, 10, 416), (2020, 10, 455), (2021, 10, 370), -(2022, 10, ), +(2022, 10, 492), (2011, 11, 623), -(2012, 11, ), +(2012, 11, 627), (2017, 11, 504), (2018, 11, 590), (2019, 11, 569), (2020, 11, 601), (2021, 11, 484), -(2022, 11, ), +(2022, 11, 759), (2011, 12, 392), -(2012, 12, ), +(2012, 12, 357), (2017, 12, 233), (2018, 12, 286), (2019, 12, 228), (2020, 12, 285), (2021, 12, 247), -(2022, 12, ), +(2022, 12, 377), (2011, 13, 91), -(2012, 13, ), +(2012, 13, 124), (2017, 13, 44), (2018, 13, 71), (2019, 13, 56), (2020, 13, 125), (2021, 13, 114), -(2022, 13, ); +(2022, 13, 154); @@ -1454,7 +1454,7 @@ INSERT INTO housing_assistance_cases_by_districts (year, district_id, general_co -/* TABELLE 16 WOHNUNGSLOSIGKEIT BEDROHTE IN STADTTEILEN 2017-2022 */ +/* TABELLE 16 WOHNUNGSLOSIGKEIT BEDROHTE HAUSHALTE IN STADTTEILEN 2017-2022 */ DROP TABLE IF EXISTS households_at_risk_of_homelessness_by_districts; CREATE TABLE IF NOT EXISTS households_at_risk_of_homelessness_by_districts ( @@ -1474,91 +1474,91 @@ INSERT INTO households_at_risk_of_homelessness_by_districts (year, district_id, (2019, 1, 13), (2020, 1, 11), (2021, 1, NULL), -(2022, 1, ), +(2022, 1, 10), (2017, 2, 21), (2018, 2, 23), (2019, 2, 21), (2020, 2, 20), (2021, 2, 5), -(2022, 1, ), +(2022, 2, 11), (2017, 3, 31), (2018, 3, 27), (2019, 3, 27), (2020, 3, 21), (2021, 3, 15), -(2022, 1, ), +(2022, 3, 27), (2017, 4, 8), (2018, 4, 11), (2019, 4, 11), (2020, 4, 9), (2021, 4, 11), -(2022, 1, ), +(2022, 4, 6), (2017, 5, 15), (2018, 5, 8), (2019, 5, 10), (2020, 5, 15), (2021, 5, 6), -(2022, 1, ), +(2022, 5, 6), (2017, 6, 11), (2018, 6, NULL), (2019, 6, NULL), (2020, 6, 6), (2021, 6, NULL), -(2022, 1, ), +(2022, 6, 11), (2017, 7, 9), (2018, 7, 7), (2019, 7, 16), (2020, 7, 16), (2021, 7, 6), -(2022, 1, ), +(2022, 7, 13), (2017, 8, 9), (2018, 8, 13), (2019, 8, 16), (2020, 8, 14), (2021, 8, NULL), -(2022, 1, ), +(2022, 8, 9), (2017, 9, 14), (2018, 9, 10), (2019, 9, 15), (2020, 9, 15), (2021, 9, 8), -(2022, 1, ), +(2022, 9, 25), (2017, 10, 6), (2018, 10, 9), (2019, 10, 15), (2020, 10, 8), (2021, 10, NULL), -(2022, 1, ), +(2022, 10, 7), (2017, 11, 28), (2018, 11, 12), (2019, 11, NULL), (2020, 11, 21), (2021, 11, 10), -(2022, 1, ), +(2022, 11, 19), (2017, 12, 17), (2018, 12, 9), (2019, 12, 14), (2020, 12, 11), (2021, 12, 12), -(2022, 1, ), +(2022, 12, 6), (2017, 13, NULL), (2018, 13, NULL), (2019, 13, NULL), (2020, 13, 4), (2021, 13, NULL), -(2022, 1, ); +(2022, 13, NULL); @@ -1645,79 +1645,79 @@ INSERT INTO beneficiaries_by_districts (year, district_id, residents) VALUES (2019, 1, 532), (2020, 1, 502), (2021, 1, 475), -(2022, 1, ), +(2022, 1, 408), (2018, 2, 1097), (2019, 2, 1094), (2020, 2, 1063), (2021, 2, 1116), -(2022, 1, ), +(2022, 2, 1014), (2018, 3, 2481), (2019, 3, 2352), (2020, 3, 2241), (2021, 3, 2170), -(2022, 1, ), +(2022, 3, 1921), (2018, 4, 729), (2019, 4, 734), (2020, 4, 736), (2021, 4, 733), -(2022, 1, ), +(2022, 4, 675), (2018, 5, 753), (2019, 5, 703), (2020, 5, 647), (2021, 5, 670), -(2022, 1, ), +(2022, 5, 570), (2018, 6, 512), (2019, 6, 483), (2020, 6, 505), (2021, 6, 494), -(2022, 1, ), +(2022, 6, 530), (2018, 7, 669), (2019, 7, 665), (2020, 7, 622), (2021, 7, 615), -(2022, 1, ), +(2022, 7, 556), (2018, 8, 672), (2019, 8, 665), (2020, 8, 645), (2021, 8, 706), -(2022, 1, ), +(2022, 8, 586), (2018, 9, 1102), (2019, 9, 1082), (2020, 9, 1072), (2021, 9, 1048), -(2022, 1, ), +(2022, 9, 897), (2018, 10, 766), (2019, 10, 769), (2020, 10, 780), (2021, 10, 792), -(2022, 1, ), +(2022, 10, 732), (2018, 11, 1474), (2019, 11, 1466), (2020, 11, 1484), (2021, 11, 1429), -(2022, 1, ), +(2022, 11, 1174), (2018, 12, 773), (2019, 12, 763), (2020, 12, 707), (2021, 12, 754), -(2022, 1, ), +(2022, 12, 680), (2018, 13, 74), (2019, 13, 81), (2020, 13, 105), (2021, 13, 150), -(2022, 1, ); +(2022, 13, 188); @@ -1804,79 +1804,79 @@ INSERT INTO inactive_beneficiaries_in_households_by_districts (year, district_id (2019, 1, 124), (2020, 1, 118), (2021, 1, 98), -(2022, 1, ), +(2022, 1, 82), (2018, 2, 262), (2019, 2, 297), (2020, 2, 299), (2021, 2, 307), -(2022, 2, ), +(2022, 2, 279), (2018, 3, 675), (2019, 3, 659), (2020, 3, 626), (2021, 3, 585), -(2022, 3, ), +(2022, 3, 519), (2018, 4, 212), (2019, 4, 228), (2020, 4, 214), (2021, 4, 215), -(2022, 4, ), +(2022, 4, 222), (2018, 5, 192), (2019, 5, 188), (2020, 5, 161), (2021, 5, 156), -(2022, 5, ), +(2022, 5, 154), (2018, 6, 166), (2019, 6, 155), (2020, 6, 176), (2021, 6, 170), -(2022, 6, ), +(2022, 6, 193), (2018, 7, 192), (2019, 7, 202), (2020, 7, 187), (2021, 7, 171), -(2022, 7, ), +(2022, 7, 161), (2018, 8, 107), (2019, 8, 124), (2020, 8, 120), (2021, 8, 139), -(2022, 8, ), +(2022, 8, 126), (2018, 9, 207), (2019, 9, 218), (2020, 9, 231), (2021, 9, 211), -(2022, 9, ), +(2022, 9, 183), (2018, 10, 215), (2019, 10, 232), (2020, 10, 231), (2021, 10, 223), -(2022, 10, ), +(2022, 10, 224), (2018, 11, 447), (2019, 11, 487), (2020, 11, 470), (2021, 11, 441), -(2022, 11, ), +(2022, 11, 340), (2018, 12, 252), (2019, 12, 271), (2020, 12, 243), (2021, 12, 236), -(2022, 12, ), +(2022, 12, 224), (2018, 13, 23), (2019, 13, 24), (2020, 13, 31), (2021, 13, 30), -(2022, 13, ); +(2022, 13, 48);