Skip to content

Commit 6ba4298

Browse files
committed
feat: bring metadata json files up to date
1 parent 77e1c22 commit 6ba4298

File tree

5 files changed

+243
-13
lines changed

5 files changed

+243
-13
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"@context": "https://www.w3.org/ns/csvw",
3+
"url": "MP_dates.csv",
4+
"dc:title": "Calendar Information on Membership Terms",
5+
"dc:publisher": "Moritz Twente",
6+
"dc:updated": "2025-06-22",
7+
"dc:type": "Dataset",
8+
"dc:format": "text/csv",
9+
"dc:license": "https://creativecommons.org/licenses/by/4.0/",
10+
"tableSchema": {
11+
"aboutUrl": "/README.md",
12+
"notes": "Dataset with information on the beginning and end of Folketinget memberships per MPs.",
13+
"columns": [
14+
{
15+
"name": "surname",
16+
"dc:title": "Surname(s)",
17+
"dc:description": "Surname(s) of the MP",
18+
"datatype": "string"
19+
},
20+
{
21+
"name": "firstname",
22+
"dc:title": "First Name(s)",
23+
"dc:description": "First Name(s) of the MP",
24+
"datatype": "string"
25+
},
26+
{
27+
"name": "origin",
28+
"dc:title": "Origin",
29+
"description": "Geographical origin of the MP.",
30+
"datatype": { "base": "string", "format": "GL|FO" }
31+
},
32+
{
33+
"name": "start",
34+
"dc:title": "Start Date",
35+
"dc:description": "Date of the beginning of parliamentary membership",
36+
"datatype": { "base": "date", "format": "yyyy-MM-dd" }
37+
},
38+
{
39+
"name": "end",
40+
"dc:title": "End Date",
41+
"dc:description": "Date of the end of parliamentary membership",
42+
"datatype": { "base": "date", "format": "yyyy-MM-dd" }
43+
},
44+
{
45+
"name": "substitute",
46+
"dc:title": "Substitute Membership",
47+
"description": "Information whether the MP served Folketinget as a substitute member for another MP who went on leave",
48+
"datatype": "boolean"
49+
}
50+
],
51+
"dialect": {
52+
"delimiter": ";",
53+
"quoteChar": "\"",
54+
"encoding": "UTF-8"
55+
}
56+
}
57+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"@context": "https://www.w3.org/ns/csvw",
3+
"url": "election_dates.csv",
4+
"dc:title": "Folketinget Election Dates",
5+
"dc:publisher": "Moritz Twente",
6+
"dc:updated": "2025-08-22",
7+
"dc:type": "Dataset",
8+
"dc:format": "text/csv",
9+
"dc:license": "https://creativecommons.org/licenses/by/4.0/",
10+
"tableSchema": {
11+
"aboutUrl": "/README.md",
12+
"notes": "Table with dates of general Folketinget elections since 2001.",
13+
"columns": [
14+
{
15+
"name": "election",
16+
"dc:title": "Election",
17+
"description": "Type of election",
18+
"datatype": "string"
19+
},
20+
21+
{
22+
"name": "date",
23+
"dc:title": "Election Date",
24+
"description": "Date the election took place",
25+
"datatype": { "base": "date", "format": "yyyy-MM-dd" }
26+
}
27+
],
28+
"dialect": {
29+
"delimiter": ";",
30+
"quoteChar": "\"",
31+
"encoding": "UTF-8"
32+
},
33+
"primaryKey": ["election"]
34+
}
35+
}
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
{
2+
"@context": "https://www.w3.org/ns/csvw",
3+
"url": "political_parties.csv",
4+
"dc:title": "Political Parties",
5+
"dc:publisher": "Moritz Twente",
6+
"dc:updated": "2025-08-21",
7+
"dc:type": "Dataset",
8+
"dc:format": "text/csv",
9+
"dc:license": "https://creativecommons.org/licenses/by/4.0/",
10+
"tableSchema": {
11+
"aboutUrl": "/README.md",
12+
"notes": "Table with names and policy positions of Northatlantic political parties that have been represented in Folketinget.",
13+
"columns": [
14+
{
15+
"name": "Party",
16+
"dc:title": "Political Party",
17+
"description": "Abbreviation for the political party",
18+
"datatype": "string"
19+
},
20+
{
21+
"name": "Full Name",
22+
"dc:title": "Full Name",
23+
"description": "Full name of the political party",
24+
"datatype": "string",
25+
"lang": "kl|fo"
26+
},
27+
{
28+
"name": "Party Family",
29+
"dc:title": "Party Family",
30+
"description": "Title of the political party family the party is part of",
31+
"datatype": "string",
32+
"lang": "en"
33+
},
34+
{
35+
"name": "Origin",
36+
"dc:title": "Origin",
37+
"description": "Geographical origin of the political party",
38+
"datatype": { "base": "string", "format": "GL|FO" }
39+
},
40+
{
41+
"name": "Left-Right",
42+
"dc:title": "Left-Right Position",
43+
"description": "Placement on the Left-Right scale",
44+
"datatype": { "base": "integer", "minimum": "0", "maximum": "10" }
45+
},
46+
{
47+
"name": "State-Market",
48+
"dc:title": "State-Market Position",
49+
"description": "Placement on the State-Market scale",
50+
"datatype": { "base": "integer", "minimum": "0", "maximum": "10" }
51+
},
52+
{
53+
"name": "Liberty-Authority",
54+
"dc:title": "Liberty-Authority Position",
55+
"description": "Placement on the Liberty-Authority scale",
56+
"datatype": { "base": "integer", "minimum": "0", "maximum": "10" }
57+
},
58+
{
59+
"name": "Anti-Pro EU",
60+
"dc:title": "Anti-Pro EU Position",
61+
"description": "Placement on the Anti-Pro EU scale",
62+
"datatype": { "base": "integer", "minimum": "0", "maximum": "10" }
63+
}
64+
],
65+
"dialect": {
66+
"delimiter": ";",
67+
"quoteChar": "\"",
68+
"encoding": "UTF-8"
69+
},
70+
"primaryKey": ["Party"],
71+
"foreignKeys": [
72+
{
73+
"columnReference": "Left-Right",
74+
"reference": {
75+
"resource": "Döring, Holger; Huber, Constantin; Manow, Philip, 2022, 'ParlGov 2022 Release', https://doi.org/10.7910/DVN/UKILBE, Harvard Dataverse, V1; parlgov-stable.xlsx [fileName]",
76+
"columnReference": "left_right",
77+
"dc:description": "0--10 scale mean value in left/right dimension with data from Castles/Mair 1983, Huber/Inglehart 1995, Benoit/Laver 2006 and CHES 2010"
78+
}
79+
},
80+
{
81+
"columnReference": "State-Market",
82+
"reference": {
83+
"resource": "Döring, Holger; Huber, Constantin; Manow, Philip, 2022, 'ParlGov 2022 Release', https://doi.org/10.7910/DVN/UKILBE, Harvard Dataverse, V1; parlgov-stable.xlsx [fileName]",
84+
"columnReference": "state_market",
85+
"dc:description": "0--10 scale mean value in 'regulation of the economy' dimension with data from Benoit/Laver 2006 and CHES 2010"
86+
}
87+
},
88+
{
89+
"columnReference": "Liberty-Authority",
90+
"reference": {
91+
"resource": "Döring, Holger; Huber, Constantin; Manow, Philip, 2022, 'ParlGov 2022 Release', https://doi.org/10.7910/DVN/UKILBE, Harvard Dataverse, V1; parlgov-stable.xlsx [fileName]",
92+
"columnReference": "liberty_authority",
93+
"dc:description": "0--10 scale mean value in 'libertarian/authoritarian' dimension with data from Benoit/Laver 2006 and CHES 2010"
94+
}
95+
},
96+
{
97+
"columnReference": "Anti-Pro EU",
98+
"reference": {
99+
"resource": "Döring, Holger; Huber, Constantin; Manow, Philip, 2022, 'ParlGov 2022 Release', https://doi.org/10.7910/DVN/UKILBE, Harvard Dataverse, V1; parlgov-stable.xlsx [fileName]",
100+
"columnReference": "eu_anti_pro",
101+
"dc:description": "0--10 scale mean value in 'EU integration' dimension with data from Ray 1999, Benoit/Laver 2006 and CHES 2010"
102+
}
103+
}
104+
]
105+
}
106+
}

data/processed/csv/MP_names_metadata.json renamed to data/processed/csv/MP_names.csv-metadata.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
"url": "MP_names.csv",
44
"dc:title": "MP Names",
55
"dc:publisher": "Moritz Twente",
6-
"dc:updated": "2023-01-11",
6+
"dc:updated": "2025-08-21",
77
"dc:type": "Dataset",
88
"dc:format": "text/csv",
99
"dc:license": "https://creativecommons.org/licenses/by/4.0/",
10-
"dc:relation": "../../../src/create_MP_list.R",
10+
"dc:relation": "/src/create_MP_list.R",
1111
"tableSchema": {
12-
"aboutUrl": "../../../README.md",
12+
"aboutUrl": "/README.md",
1313
"notes": "Table with names of members of Folketinget for which to get voting records",
1414
"columns": [
1515
{
1616
"name": "surname",
17-
"dc:title": "Surname",
18-
"description": "Surname of the MP.",
17+
"dc:title": "Surname(s)",
18+
"description": "Surname(s) of the MP.",
1919
"datatype": "string"
2020
},
2121
{

data/processed/csv/northatlantic_ft_metadata.json renamed to data/processed/csv/northatlantic_ft.csv-metadata.json

Lines changed: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
"dc:type": "Dataset",
88
"dc:format": "text/csv",
99
"dc:license": "https://creativecommons.org/licenses/by/4.0/",
10-
"dc:relation": "../../../src/targets/join_results.R",
10+
"dc:relation": "/src/targets/join_results.R",
1111
"tableSchema": {
12-
"aboutUrl": "../../../README.md",
13-
"notes": "Data Set with Voting Records of Greenlandic and Faroese MPs in Folketinget",
12+
"aboutUrl": "/README.md",
13+
"notes": "Data Set with Voting Records of Greenlandic and Faroese MPs in Folketinget",
1414
"columns": [
1515
{
1616
"name": "ballot_id",
@@ -21,9 +21,21 @@
2121
{
2222
"name": "MP_id",
2323
"dc:title": "MP ID",
24-
"dc:description": "Folketinget ODA ID assigned to the MP..",
24+
"dc:description": "Folketinget ODA ID assigned to the MP",
2525
"datatype": { "base": "integer", "minimum": "1" }
2626
},
27+
{
28+
"name": "surname",
29+
"dc:title": "Surname(s)",
30+
"dc:description": "Surname(s) of the MP",
31+
"datatype": "string"
32+
},
33+
{
34+
"name": "party",
35+
"dc:title": "Party",
36+
"dc:description": "Political Party the MP is member of",
37+
"datatype": "string"
38+
},
2739
{
2840
"name": "vote_type_id",
2941
"dc:title": "Vote Type ID",
@@ -42,29 +54,49 @@
4254
"dc:description": "Boolean indicating if the ballot passed.",
4355
"datatype": { "base": "boolean", "format": "TRUE|FALSE" }
4456
},
57+
{
58+
"name": "ft_process_step",
59+
"dc:title": "Folketinget Process Step",
60+
"dc:description": "Stage of the parliamentary process the ballot is part of",
61+
"datatype": "string",
62+
"lang": "dk"
63+
},
64+
{
65+
"name": "ft_topic_id",
66+
"dc:title": "Topic ID",
67+
"dc:description": "Folketinget ODA ID assigned to the parliamentary process the ballot is part of",
68+
"datatype": { "base": "integer", "minimum": "1" }
69+
},
70+
{
71+
"name": "ft_topic",
72+
"dc:title": "Ballot Topic",
73+
"dc:description": "Description of the topic the proposal on the ballot is about",
74+
"datatype": "string",
75+
"lang": "dk"
76+
},
4577
{
4678
"name": "ft_for",
4779
"dc:title": "For Votes",
4880
"dc:description": "Number of votes in favor of the proposal.",
49-
"datatype": { "base": "integer", "minimum": "1", "maximum": "179" }
81+
"datatype": { "base": "integer", "minimum": "0", "maximum": "179" }
5082
},
5183
{
5284
"name": "ft_against",
5385
"dc:title": "Against Votes",
5486
"dc:description": "Number of votes against the proposal.",
55-
"datatype": { "base": "integer", "minimum": "1", "maximum": "179" }
87+
"datatype": { "base": "integer", "minimum": "0", "maximum": "179" }
5688
},
5789
{
5890
"name": "ft_abstention",
5991
"dc:title": "Abstention Votes",
6092
"dc:description": "Number of abstention votes.",
61-
"datatype": { "base": "integer", "minimum": "1", "maximum": "179" }
93+
"datatype": { "base": "integer", "minimum": "0", "maximum": "179" }
6294
},
6395
{
6496
"name": "ft_absent",
6597
"dc:title": "Absent Votes",
6698
"dc:description": "Number of absent MPs.",
67-
"datatype": { "base": "integer", "minimum": "1", "maximum": "179" }
99+
"datatype": { "base": "integer", "minimum": "0", "maximum": "179" }
68100
},
69101
{
70102
"name": "ballot_date",

0 commit comments

Comments
 (0)