stats step 3: elections, party positions and opinion feeds (schema, collectors, timers); world-opinions data moved into stats.wo_*
All checks were successful
Deploy production / deploy (push) Successful in 1m12s
All checks were successful
Deploy production / deploy (push) Successful in 1m12s
This commit is contained in:
239
drizzle/20261025220252_stats_wo_seed/migration.sql
Normal file
239
drizzle/20261025220252_stats_wo_seed/migration.sql
Normal file
@@ -0,0 +1,239 @@
|
||||
-- Seed of /projects/world-opinions, generated from src/lib/world-opinions/data.ts (commit 030f3c0).
|
||||
-- Curated text and compass placements copied exactly; the DB is the source of truth from here on.
|
||||
INSERT INTO "stats"."wo_country" ("iso3","id","iso_num","name","region","liberal_meaning","main_divide","note","profile","sort") VALUES
|
||||
('SWE', 'se', '752', 'Sweden', 'nordics', 'market', 'economy', NULL, '{"center": "High-trust, high-tax welfare state; very secular and individualist", "fights": ["immigration", "gang violence", "private welfare", "NATO"], "timeline": [{"year": "1814", "label": "last war fought"}, {"year": "1932", "label": "Social Democrats'' era"}, {"year": "1939", "label": "neutral in WWII"}, {"year": "2015", "label": "record asylum intake"}, {"year": "2024", "label": "joins NATO"}], "blindSpots": ["consensus makes disagreement taboo", "neutrality myth (iron to Germany)"]}'::jsonb, 0),
|
||||
('DNK', 'dk', '208', 'Denmark', 'nordics', 'market', 'economy', '"Venstre" (literally "Left") is the liberal, center-right party', NULL, 1),
|
||||
('NOR', 'no', '578', 'Norway', 'nordics', 'market', 'economy', NULL, NULL, 2),
|
||||
('FIN', 'fi', '246', 'Finland', 'nordics', 'market', 'economy', NULL, NULL, 3),
|
||||
('NLD', 'nl', '528', 'Netherlands', 'western-europe', 'market', 'economy', 'Liberal VVD is the main center-right party', '{"center": "Coalition consensus (\"polder model\") around a strong welfare state", "fights": ["immigration", "housing", "nitrogen & farmers", "EU"], "timeline": [{"year": "1600s", "label": "Golden Age, trade empire"}, {"year": "1940", "label": "German occupation"}, {"year": "1949", "label": "loses Indonesia"}, {"year": "1960s", "label": "pillars break, secularization"}, {"year": "2002", "label": "Fortuyn, immigration debate"}], "blindSpots": ["tolerance self-image vs discrimination", "colonial past taught thinly"]}'::jsonb, 4),
|
||||
('BEL', 'be', '056', 'Belgium', 'western-europe', 'market', 'economy', 'Language (Flemish vs French-speaking) splits every party family', NULL, 5),
|
||||
('DEU', 'de', '276', 'Germany', 'western-europe', 'market', 'economy', 'Liberal FDP = pro-market, low taxes', '{"center": "Social market economy, fiscal caution, \"never again\"", "fights": ["migration", "energy & climate", "East vs West", "debt brake"], "timeline": [{"year": "1923", "label": "hyperinflation"}, {"year": "1933", "label": "Nazi dictatorship"}, {"year": "1949", "label": "split + economic miracle"}, {"year": "1990", "label": "reunification"}, {"year": "2015", "label": "refugee crisis"}], "blindSpots": ["debt as moral failing", "Russian gas as \"just trade\""]}'::jsonb, 6),
|
||||
('AUT', 'at', '040', 'Austria', 'western-europe', 'market', 'economy', NULL, NULL, 7),
|
||||
('CHE', 'ch', '756', 'Switzerland', 'western-europe', 'market', 'economy', NULL, NULL, 8),
|
||||
('GBR', 'gb', '826', 'United Kingdom', 'western-europe', 'market', 'economy', 'Liberal Democrats sit in the center; Brexit cut across old lines', '{"center": "Pragmatic and market-friendly, but the NHS is sacred", "fights": ["Brexit", "class", "North vs South", "Scotland"], "timeline": [{"year": "1900", "label": "largest empire in history"}, {"year": "1940", "label": "\"stood alone\""}, {"year": "1948", "label": "NHS founded"}, {"year": "1979", "label": "Thatcher"}, {"year": "2016", "label": "Brexit vote"}], "blindSpots": ["empire taught selectively", "overrates the \"special relationship\""]}'::jsonb, 9),
|
||||
('IRL', 'ie', '372', 'Ireland', 'western-europe', 'market', 'history', 'The two big parties descend from opposite sides of the 1922 civil war', NULL, 10),
|
||||
('FRA', 'fr', '250', 'France', 'western-europe', 'market', 'economy', '"Libéral" means pro-market, often used as a criticism', '{"center": "Strong central state, laïcité, protest as normal politics", "fights": ["pensions", "Paris vs periphery", "Islam & laïcité", "EU"], "timeline": [{"year": "1789", "label": "Revolution invents left/right"}, {"year": "1940", "label": "defeat and Vichy"}, {"year": "1962", "label": "loses Algerian war"}, {"year": "1968", "label": "May ''68"}, {"year": "2018", "label": "Yellow Vests"}], "blindSpots": ["colorblind universalism hides racism", "influence in former African colonies"]}'::jsonb, 11),
|
||||
('ESP', 'es', '724', 'Spain', 'western-europe', 'market', 'economy', 'Regional nationalism (Catalonia, Basque Country) is a second axis', NULL, 12),
|
||||
('PRT', 'pt', '620', 'Portugal', 'western-europe', 'market', 'economy', NULL, NULL, 13),
|
||||
('ITA', 'it', '380', 'Italy', 'western-europe', 'market', 'economy', NULL, NULL, 14),
|
||||
('GRC', 'gr', '300', 'Greece', 'eastern-europe', 'market', 'economy', NULL, NULL, 15),
|
||||
('USA', 'us', '840', 'United States', 'north-america', 'left', 'culture', '"Liberal" = Democrat; the Democrats sit near Europe''s center economically', '{"center": "Individual liberty and suspicion of government, on both sides", "fights": ["abortion", "guns", "race", "immigration", "religion"], "timeline": [{"year": "1776", "label": "revolt against a distant state"}, {"year": "1861", "label": "civil war over slavery"}, {"year": "1945", "label": "wins WWII, superpower"}, {"year": "1964", "label": "Civil Rights Act"}, {"year": "1991", "label": "wins the Cold War"}], "blindSpots": ["assumes its left/right is universal", "partisan media bubbles", "little view of other systems"]}'::jsonb, 16),
|
||||
('CAN', 'ca', '124', 'Canada', 'north-america', 'left', 'economy', NULL, NULL, 17),
|
||||
('MEX', 'mx', '484', 'Mexico', 'latin-america', 'market', 'economy', NULL, NULL, 18),
|
||||
('BRA', 'br', '076', 'Brazil', 'latin-america', 'market', 'economy', 'Bolsonaro''s party is literally called "Partido Liberal"', '{"center": "Inequality makes redistribution central; religious society", "fights": ["Lula vs Bolsonaro", "crime", "Amazon vs agribusiness"], "timeline": [{"year": "1888", "label": "last to abolish slavery"}, {"year": "1964", "label": "military coup"}, {"year": "1985", "label": "democracy returns"}, {"year": "1994", "label": "ends hyperinflation"}, {"year": "2014", "label": "Car Wash scandal"}], "blindSpots": ["\"racial democracy\" myth", "WhatsApp information bubbles"]}'::jsonb, 19),
|
||||
('ARG', 'ar', '032', 'Argentina', 'latin-america', 'market', 'economy', 'President Milei calls himself a "liberal-libertarian"', NULL, 20),
|
||||
('CHL', 'cl', '152', 'Chile', 'latin-america', 'market', 'economy', NULL, NULL, 21),
|
||||
('COL', 'co', '170', 'Colombia', 'latin-america', NULL, 'economy', NULL, NULL, 22),
|
||||
('PER', 'pe', '604', 'Peru', 'latin-america', 'market', 'economy', NULL, NULL, 23),
|
||||
('VEN', 've', '862', 'Venezuela', 'latin-america', NULL, 'none', NULL, NULL, 24),
|
||||
('AUS', 'au', '036', 'Australia', 'oceania', 'market', 'economy', 'The Liberal Party is the main conservative party', NULL, 25),
|
||||
('NZL', 'nz', '554', 'New Zealand', 'oceania', 'market', 'economy', NULL, NULL, 26),
|
||||
('POL', 'pl', '616', 'Poland', 'eastern-europe', 'western', 'culture', NULL, '{"center": "Pro-NATO and wary of Russia across all parties", "fights": ["Catholic vs liberal", "abortion", "rule of law", "EU"], "timeline": [{"year": "1795", "label": "erased by partition"}, {"year": "1939", "label": "invaded by Germany and USSR"}, {"year": "1980", "label": "Solidarity movement"}, {"year": "1989", "label": "communism falls"}, {"year": "2004", "label": "joins the EU"}], "blindSpots": ["victimhood crowds out dark chapters", "distrust of Germany"]}'::jsonb, 27),
|
||||
('CZE', 'cz', '203', 'Czechia', 'eastern-europe', 'western', 'culture', NULL, NULL, 28),
|
||||
('HUN', 'hu', '348', 'Hungary', 'eastern-europe', 'western', 'culture', 'Orbán calls his model "illiberal democracy"', NULL, 29),
|
||||
('ROU', 'ro', '642', 'Romania', 'eastern-europe', 'western', 'culture', NULL, NULL, 30),
|
||||
('SRB', 'rs', '688', 'Serbia', 'eastern-europe', 'western', 'history', NULL, NULL, 31),
|
||||
('UKR', 'ua', '804', 'Ukraine', 'eastern-europe', NULL, 'history', 'Politics long split between pro-Western and pro-Russian orientation', NULL, 32),
|
||||
('RUS', 'ru', '643', 'Russia', 'eastern-europe', 'western', 'none', '"Liberal" = the pro-Western opposition, mostly in exile or prison', '{"center": "Strong state and great-power status; opposition repressed", "fights": ["largely suppressed in public"], "timeline": [{"year": "1812", "label": "Napoleon invades"}, {"year": "1941", "label": "Nazi invasion, ~27M dead"}, {"year": "1991", "label": "USSR collapses"}, {"year": "1990s", "label": "chaos and poverty"}, {"year": "2022", "label": "full invasion of Ukraine"}], "blindSpots": ["state-controlled media", "neighbors seen as sphere of influence", "Soviet crimes downplayed"]}'::jsonb, 33),
|
||||
('KAZ', 'kz', '398', 'Kazakhstan', 'eastern-europe', NULL, 'none', NULL, NULL, 34),
|
||||
('TUR', 'tr', '792', 'Turkey', 'middle-east', 'western', 'culture', 'Main divide: religious-conservative vs secular', '{"center": "National pride, strong state, balancing West and region", "fights": ["religious vs secular", "Kurdish question", "inflation"], "timeline": [{"year": "1915", "label": "Armenian genocide (denied)"}, {"year": "1920", "label": "Sèvres, fear of partition"}, {"year": "1923", "label": "Atatürk''s secular republic"}, {"year": "1980", "label": "military coup"}, {"year": "2016", "label": "failed coup"}], "blindSpots": ["genocide denial", "restricted press", "Western criticism read as hostility"]}'::jsonb, 35),
|
||||
('IRN', 'ir', '364', 'Iran', 'middle-east', 'western', 'none', NULL, NULL, 36),
|
||||
('IRQ', 'iq', '368', 'Iraq', 'middle-east', NULL, 'culture', NULL, NULL, 37),
|
||||
('EGY', 'eg', '818', 'Egypt', 'middle-east', NULL, 'none', NULL, NULL, 38),
|
||||
('MAR', 'ma', '504', 'Morocco', 'middle-east', NULL, NULL, NULL, NULL, 39),
|
||||
('SAU', 'sa', '682', 'Saudi Arabia', 'middle-east', NULL, 'none', NULL, NULL, 40),
|
||||
('NGA', 'ng', '566', 'Nigeria', 'africa', NULL, NULL, NULL, NULL, 41),
|
||||
('ETH', 'et', '231', 'Ethiopia', 'africa', NULL, NULL, NULL, NULL, 42),
|
||||
('KEN', 'ke', '404', 'Kenya', 'africa', NULL, NULL, NULL, NULL, 43),
|
||||
('ZAF', 'za', '710', 'South Africa', 'africa', NULL, 'history', 'Politics still shaped by apartheid and the liberation struggle', NULL, 44),
|
||||
('IND', 'in', '356', 'India', 'south-asia', NULL, 'culture', 'Main divide: Hindu nationalism vs secular pluralism', '{"center": "Largest democracy; religion, caste and language drive politics", "fights": ["Hindu nationalism", "caste quotas", "language", "center vs states"], "timeline": [{"year": "1858", "label": "British Raj"}, {"year": "1947", "label": "independence and Partition"}, {"year": "1961", "label": "Non-Aligned Movement"}, {"year": "1991", "label": "economic liberalization"}, {"year": "2014", "label": "BJP majority"}], "blindSpots": ["polarized media", "reduced to poverty & religion by outsiders"]}'::jsonb, 45),
|
||||
('PAK', 'pk', '586', 'Pakistan', 'south-asia', NULL, NULL, NULL, NULL, 46),
|
||||
('BGD', 'bd', '050', 'Bangladesh', 'south-asia', NULL, 'history', NULL, NULL, 47),
|
||||
('CHN', 'cn', '156', 'China', 'east-asia', 'western', 'none', '"Liberal" = pro-Western intellectuals, a label the state treats with suspicion', '{"center": "Order, growth and national rejuvenation, led by the Party", "fights": ["youth jobs", "property crisis", "local corruption"], "timeline": [{"year": "1839", "label": "Opium Wars, \"humiliation\""}, {"year": "1937", "label": "Japanese invasion"}, {"year": "1966", "label": "Cultural Revolution"}, {"year": "1978", "label": "reform and opening"}, {"year": "1989", "label": "Tiananmen (unspoken)"}], "blindSpots": ["censorship shapes history", "criticism read as new humiliation"]}'::jsonb, 48),
|
||||
('JPN', 'jp', '392', 'Japan', 'east-asia', 'market', 'history', 'The "Liberal Democratic Party" is the conservative party in power since 1955', '{"center": "Stability and harmony; one party governing since 1955", "fights": ["pacifist constitution", "aging & immigration", "war memory"], "timeline": [{"year": "1868", "label": "Meiji modernization"}, {"year": "1937", "label": "war in Asia"}, {"year": "1945", "label": "atomic bombs, defeat"}, {"year": "1947", "label": "pacifist constitution"}, {"year": "1990", "label": "bubble bursts"}], "blindSpots": ["wartime atrocities taught thinly", "sees itself as war victim"]}'::jsonb, 49),
|
||||
('KOR', 'kr', '410', 'South Korea', 'east-asia', 'left', 'history', 'Divide is mostly about North Korea, Japan and the US', '{"center": "Fierce democracy won by protest; hyper-competitive society", "fights": ["North Korea", "Japan", "gender", "chaebol power"], "timeline": [{"year": "1910", "label": "Japanese colonization"}, {"year": "1950", "label": "Korean War"}, {"year": "1980", "label": "Gwangju massacre"}, {"year": "1987", "label": "democracy"}, {"year": "2024", "label": "martial law crisis"}], "blindSpots": ["US and Japan seen through party lens"]}'::jsonb, 50),
|
||||
('TWN', 'tw', '158', 'Taiwan', 'east-asia', NULL, 'history', 'Main divide: how close to be with mainland China', NULL, 51),
|
||||
('VNM', 'vn', '704', 'Vietnam', 'southeast-asia', NULL, 'none', NULL, NULL, 52),
|
||||
('THA', 'th', '764', 'Thailand', 'southeast-asia', NULL, 'history', 'Main divide: monarchy and military vs reformists', NULL, 53),
|
||||
('MYS', 'my', '458', 'Malaysia', 'southeast-asia', NULL, 'culture', NULL, NULL, 54),
|
||||
('PHL', 'ph', '608', 'Philippines', 'southeast-asia', NULL, NULL, NULL, NULL, 55),
|
||||
('IDN', 'id', '360', 'Indonesia', 'southeast-asia', NULL, 'culture', NULL, NULL, 56);
|
||||
--> statement-breakpoint
|
||||
INSERT INTO "stats"."wo_cultural_map" ("iso3","wave","trad_secular","surv_selfexp","source") VALUES
|
||||
('SWE', 'curated', 1.8, 2.4, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('DNK', 'curated', 1.2, 2.3, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('NOR', 'curated', 1.4, 2.1, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('FIN', 'curated', 1, 1.6, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('NLD', 'curated', 1.1, 2, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('BEL', 'curated', 0.8, 1.4, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('DEU', 'curated', 1.4, 1.3, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('AUT', 'curated', 0.6, 1.3, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('CHE', 'curated', 0.7, 1.9, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('GBR', 'curated', 0.3, 1.8, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('IRL', 'curated', -0.4, 1.4, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('FRA', 'curated', 0.8, 1.1, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('ESP', 'curated', 0.3, 1.3, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('PRT', 'curated', -0.3, 0.8, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('ITA', 'curated', 0, 0.5, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('GRC', 'curated', 0, 0.2, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('USA', 'curated', -0.5, 1.3, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('CAN', 'curated', 0, 1.8, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('MEX', 'curated', -1.3, 0.6, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('BRA', 'curated', -1, 0.1, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('ARG', 'curated', -0.6, 0.7, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('CHL', 'curated', -0.3, 0.8, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('COL', 'curated', -1.6, 0.5, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('PER', 'curated', -1.1, 0.3, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('VEN', 'curated', -1.5, 0.4, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('AUS', 'curated', 0.2, 2, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('NZL', 'curated', 0.1, 2.2, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('POL', 'curated', -0.6, 0.2, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('CZE', 'curated', 1.2, 0.5, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('HUN', 'curated', 0.4, -0.4, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('ROU', 'curated', -0.6, -0.4, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('SRB', 'curated', 0.1, -0.6, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('UKR', 'curated', 0.2, -0.9, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('RUS', 'curated', 0.6, -1, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('KAZ', 'curated', 0.4, -0.6, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('TUR', 'curated', -0.9, -0.6, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('IRN', 'curated', -0.6, -0.9, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('IRQ', 'curated', -1.3, -1.2, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('EGY', 'curated', -1.5, -1.5, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('MAR', 'curated', -1.5, -1.2, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('NGA', 'curated', -1.8, -0.3, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('ETH', 'curated', -1.5, -0.9, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('KEN', 'curated', -1.5, -0.4, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('ZAF', 'curated', -1.2, 0, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('IND', 'curated', -0.5, -0.5, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('PAK', 'curated', -1.4, -1, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('BGD', 'curated', -1.1, -1, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('CHN', 'curated', 1.5, -0.9, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('JPN', 'curated', 1.8, 0.4, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('KOR', 'curated', 1.2, -0.3, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('TWN', 'curated', 1.3, 0, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('VNM', 'curated', 0.5, -0.6, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('THA', 'curated', -0.4, 0, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('MYS', 'curated', -0.9, -0.6, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('PHL', 'curated', -1.4, -0.2, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map'),
|
||||
('IDN', 'curated', -1.2, -0.8, 'Hand-placed in the World Opinions guide after the WVS/EVS cultural map');
|
||||
--> statement-breakpoint
|
||||
INSERT INTO "stats"."wo_narrative" ("sort","event","years","views") VALUES
|
||||
(0, 'World War II', '1939–45', '[{"country": "us", "story": "D-Day: democracy beats fascism"}, {"country": "ru", "story": "We broke Hitler, 27M dead"}, {"country": "cn", "story": "Our war began in 1937"}, {"country": "pl", "story": "Liberation became Soviet occupation"}, {"country": "jp", "story": "Hiroshima: we suffered"}]'::jsonb),
|
||||
(1, 'End of the Cold War', '1989–91', '[{"country": "us", "story": "We won: the end of history"}, {"country": "pl", "story": "We freed ourselves"}, {"country": "ru", "story": "Collapse and humiliation"}, {"country": "cn", "story": "A warning: never lose control"}]'::jsonb),
|
||||
(2, 'Colonialism', '1500s–1970s', '[{"country": "nl", "story": "Golden Age trade, now debated"}, {"country": "gb", "story": "Empire, remembered fondly by many"}, {"country": "in", "story": "Extraction and Partition"}, {"country": "cn", "story": "Century of humiliation"}, {"country": "br", "story": "Conquest, then US dominance"}]'::jsonb),
|
||||
(3, 'Iraq War', '2003', '[{"country": "us", "story": "Disarmament, later a mistake"}, {"country": "fr", "story": "We warned you"}, {"country": "iq", "story": "Invasion, then civil war"}, {"country": "ru", "story": "Proof the rules are selective"}]'::jsonb);
|
||||
--> statement-breakpoint
|
||||
INSERT INTO "stats"."wo_source" ("sort","name","href") VALUES
|
||||
(0, 'World Values Survey / EVS cultural map', 'https://www.worldvaluessurvey.org/WVSContents.jsp?CMSID=Findings'),
|
||||
(1, 'Chapel Hill Expert Survey', 'https://www.chesdata.eu/'),
|
||||
(2, 'Manifesto Project', 'https://manifesto-project.wzb.eu/'),
|
||||
(3, 'Pew Research Center', 'https://www.pewresearch.org/global/'),
|
||||
(4, 'Natural Earth (map shapes)', 'https://www.naturalearthdata.com/');
|
||||
--> statement-breakpoint
|
||||
INSERT INTO "stats"."wo_party" ("party_id","iso3","name","abbrev","sort") VALUES
|
||||
('wo:us:Dem', 'USA', 'Democratic Party', 'Dem', 0),
|
||||
('wo:us:GOP', 'USA', 'Republican Party', 'GOP', 1),
|
||||
('wo:nl:GL-PvdA', 'NLD', 'GroenLinks-PvdA', 'GL-PvdA', 2),
|
||||
('wo:nl:SP', 'NLD', 'Socialistische Partij', 'SP', 3),
|
||||
('wo:nl:D66', 'NLD', 'Democraten 66', 'D66', 4),
|
||||
('wo:nl:CDA', 'NLD', 'Christen-Democratisch Appèl', 'CDA', 5),
|
||||
('wo:nl:VVD', 'NLD', 'Volkspartij voor Vrijheid en Democratie', 'VVD', 6),
|
||||
('wo:nl:BBB', 'NLD', 'BoerBurgerBeweging', 'BBB', 7),
|
||||
('wo:nl:PVV', 'NLD', 'Partij voor de Vrijheid', 'PVV', 8),
|
||||
('wo:de:Linke', 'DEU', 'Die Linke', 'Linke', 9),
|
||||
('wo:de:Grüne', 'DEU', 'Bündnis 90/Die Grünen', 'Grüne', 10),
|
||||
('wo:de:SPD', 'DEU', 'Sozialdemokratische Partei', 'SPD', 11),
|
||||
('wo:de:BSW', 'DEU', 'Bündnis Sahra Wagenknecht', 'BSW', 12),
|
||||
('wo:de:FDP', 'DEU', 'Freie Demokratische Partei', 'FDP', 13),
|
||||
('wo:de:CDU', 'DEU', 'CDU/CSU', 'CDU', 14),
|
||||
('wo:de:AfD', 'DEU', 'Alternative für Deutschland', 'AfD', 15),
|
||||
('wo:gb:Green', 'GBR', 'Green Party', 'Green', 16),
|
||||
('wo:gb:Lab', 'GBR', 'Labour', 'Lab', 17),
|
||||
('wo:gb:LD', 'GBR', 'Liberal Democrats', 'LD', 18),
|
||||
('wo:gb:Con', 'GBR', 'Conservatives', 'Con', 19),
|
||||
('wo:gb:Reform', 'GBR', 'Reform UK', 'Reform', 20),
|
||||
('wo:fr:LFI', 'FRA', 'La France Insoumise', 'LFI', 21),
|
||||
('wo:fr:PS', 'FRA', 'Parti Socialiste', 'PS', 22),
|
||||
('wo:fr:RE', 'FRA', 'Renaissance', 'RE', 23),
|
||||
('wo:fr:LR', 'FRA', 'Les Républicains', 'LR', 24),
|
||||
('wo:fr:RN', 'FRA', 'Rassemblement National', 'RN', 25),
|
||||
('wo:se:V', 'SWE', 'Vänsterpartiet', 'V', 26),
|
||||
('wo:se:S', 'SWE', 'Socialdemokraterna', 'S', 27),
|
||||
('wo:se:C', 'SWE', 'Centerpartiet', 'C', 28),
|
||||
('wo:se:M', 'SWE', 'Moderaterna', 'M', 29),
|
||||
('wo:se:SD', 'SWE', 'Sverigedemokraterna', 'SD', 30),
|
||||
('wo:pl:Lewica', 'POL', 'Lewica', 'Lewica', 31),
|
||||
('wo:pl:KO', 'POL', 'Koalicja Obywatelska', 'KO', 32),
|
||||
('wo:pl:PiS', 'POL', 'Prawo i Sprawiedliwość', 'PiS', 33),
|
||||
('wo:pl:Konf', 'POL', 'Konfederacja', 'Konf', 34),
|
||||
('wo:jp:JCP', 'JPN', 'Japanese Communist Party', 'JCP', 35),
|
||||
('wo:jp:CDP', 'JPN', 'Constitutional Democratic Party', 'CDP', 36),
|
||||
('wo:jp:Komeito', 'JPN', 'Komeito', 'Komeito', 37),
|
||||
('wo:jp:LDP', 'JPN', 'Liberal Democratic Party', 'LDP', 38),
|
||||
('wo:jp:Ishin', 'JPN', 'Nippon Ishin no Kai', 'Ishin', 39),
|
||||
('wo:jp:Sansei', 'JPN', 'Sanseitō', 'Sansei', 40),
|
||||
('wo:kr:Justice', 'KOR', 'Justice Party', 'Justice', 41),
|
||||
('wo:kr:DPK', 'KOR', 'Democratic Party of Korea', 'DPK', 42),
|
||||
('wo:kr:PPP', 'KOR', 'People Power Party', 'PPP', 43),
|
||||
('wo:in:INC', 'IND', 'Indian National Congress', 'INC', 44),
|
||||
('wo:in:BJP', 'IND', 'Bharatiya Janata Party', 'BJP', 45),
|
||||
('wo:br:PT', 'BRA', 'Partido dos Trabalhadores', 'PT', 46),
|
||||
('wo:br:MDB', 'BRA', 'Movimento Democrático Brasileiro', 'MDB', 47),
|
||||
('wo:br:PL', 'BRA', 'Partido Liberal', 'PL', 48),
|
||||
('wo:ca:NDP', 'CAN', 'New Democratic Party', 'NDP', 49),
|
||||
('wo:ca:LPC', 'CAN', 'Liberal Party of Canada', 'LPC', 50),
|
||||
('wo:ca:CPC', 'CAN', 'Conservative Party of Canada', 'CPC', 51);
|
||||
--> statement-breakpoint
|
||||
INSERT INTO "stats"."wo_compass_override" ("party_id","x","y","note") VALUES
|
||||
('wo:us:Dem', 4.8, 3.5, 'The US "liberals": near Europe''s center economically'),
|
||||
('wo:us:GOP', 7.8, 8, NULL),
|
||||
('wo:nl:GL-PvdA', 2.5, 1.5, NULL),
|
||||
('wo:nl:SP', 1.5, 5, NULL),
|
||||
('wo:nl:D66', 5.5, 1.5, NULL),
|
||||
('wo:nl:CDA', 6, 6, NULL),
|
||||
('wo:nl:VVD', 7.5, 5, 'Dutch "liberals": market-liberal, center-right'),
|
||||
('wo:nl:BBB', 6, 7.5, NULL),
|
||||
('wo:nl:PVV', 4.5, 9, 'Radical right on immigration, centrist on welfare'),
|
||||
('wo:de:Linke', 1, 2.5, NULL),
|
||||
('wo:de:Grüne', 3, 1.5, NULL),
|
||||
('wo:de:SPD', 3.5, 3.5, NULL),
|
||||
('wo:de:BSW', 2, 7, NULL),
|
||||
('wo:de:FDP', 8.5, 3, 'German "liberals": socially open, strongly pro-market'),
|
||||
('wo:de:CDU', 6.5, 6, NULL),
|
||||
('wo:de:AfD', 7, 9.5, NULL),
|
||||
('wo:gb:Green', 1.5, 1.5, NULL),
|
||||
('wo:gb:Lab', 3.8, 3.5, NULL),
|
||||
('wo:gb:LD', 5, 2.5, NULL),
|
||||
('wo:gb:Con', 7, 6.5, NULL),
|
||||
('wo:gb:Reform', 7.5, 8.5, NULL),
|
||||
('wo:fr:LFI', 1, 2.5, NULL),
|
||||
('wo:fr:PS', 3, 3, NULL),
|
||||
('wo:fr:RE', 6.5, 4, NULL),
|
||||
('wo:fr:LR', 7.5, 7, NULL),
|
||||
('wo:fr:RN', 4.5, 9, 'Economically left of Macron: lower retirement age, protectionism'),
|
||||
('wo:se:V', 1, 2, NULL),
|
||||
('wo:se:S', 3, 3.5, NULL),
|
||||
('wo:se:C', 7, 2.5, NULL),
|
||||
('wo:se:M', 7.5, 5.5, NULL),
|
||||
('wo:se:SD', 5.5, 9, NULL),
|
||||
('wo:pl:Lewica', 2, 2, NULL),
|
||||
('wo:pl:KO', 6.5, 4, NULL),
|
||||
('wo:pl:PiS', 3.5, 9, 'Culturally right, economically left (big family benefits)'),
|
||||
('wo:pl:Konf', 9, 9, NULL),
|
||||
('wo:jp:JCP', 1, 3, NULL),
|
||||
('wo:jp:CDP', 4, 3.5, NULL),
|
||||
('wo:jp:Komeito', 5, 5.5, NULL),
|
||||
('wo:jp:LDP', 6, 7, 'Called "Liberal", governs as conservatives since 1955'),
|
||||
('wo:jp:Ishin', 7.5, 6, NULL),
|
||||
('wo:jp:Sansei', 6, 9, NULL),
|
||||
('wo:kr:Justice', 1.5, 1.5, NULL),
|
||||
('wo:kr:DPK', 4, 4.5, 'The "progressive" camp, cautious on social issues'),
|
||||
('wo:kr:PPP', 7, 7, NULL),
|
||||
('wo:in:INC', 4.5, 4, NULL),
|
||||
('wo:in:BJP', 6, 8.5, 'Hindu-nationalist, pro-business, big welfare schemes'),
|
||||
('wo:br:PT', 2.5, 4.5, NULL),
|
||||
('wo:br:MDB', 6, 6, NULL),
|
||||
('wo:br:PL', 7.5, 9, NULL),
|
||||
('wo:ca:NDP', 2.5, 2.5, NULL),
|
||||
('wo:ca:LPC', 4.8, 3, NULL),
|
||||
('wo:ca:CPC', 7.5, 7, NULL);
|
||||
Reference in New Issue
Block a user