nordatlantisk-ft

Voting Records of Greenlandic and Faroese MPs in Folketinget

https://github.com/mtwente/nordatlantisk-ft

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.0%) to scientific vocabulary

Keywords

faroe-islands folketinget greenland parliament-data political-science voting-data
Last synced: 6 months ago · JSON representation ·

Repository

Voting Records of Greenlandic and Faroese MPs in Folketinget

Basic Info
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • Open Issues: 4
  • Releases: 1
Topics
faroe-islands folketinget greenland parliament-data political-science voting-data
Created about 2 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation Security

README.md

Voting Records of Greenlandic and Faroese MPs in Folketinget

This repository contains voting records of Greenlandic and Faroese Members of Parliament (MPs) in Folketing, the Parliament of Denmark. The data in nordatlantisk-ft is openly available to everyone and is intended to support reproducible research.

GitHub issues GitHub forks GitHub stars Code license Data license DOI Zotero

Repository Structure

The structure of this repository is based on the Open Research Data Template by @maehr, follows the Advanced Structure for Data Analysis of The Turing Way and is organized as follows:

  • analysis/: scripts and notebooks used to analyze the data
  • assets/: images, background data, literature references etc. used in the README and other documentation
  • build/: built files, PDF outputs
  • data/: data files
  • docs/: documentation for the data and the repository
  • src/: source code for the data (e.g., scripts used to collect or process the data)
  • test/: tests for the data and source code
  • report.qmd: a report with basic insights into the data set

Additionally, there is a Zotero group library with a collection of scientific articles and news reports that are of relevance for studying the Northatlantic MPs' work in Folketinget.

Data Description

This repository contains voting records of Greenlandic and Faroese MPs. Voting records are available online starting October 2004.

For all MPs that were elected in either Greenland or the Faroe Islands since 2004, voting records were retrieved from Folketingets åbne data service (ODA). Because Folketinget seems to have changed their way of record keeping since 2004, the retrieved data had to be processed to consolidate different variables (e.g. extracting ballot results stored as one text string into four numeric variables).

In this repository, the raw data is available as csv files, and processed data is available as rds and csv files including metadata. Also included is the workflow to replicate and update the data set using R.

Descriptions of the workflow and all variables are provided in the codebook. To get an impression of the available data, take a first glance.

Installation

Use the renv package to install all dependencies and set up a reproducible environment within the R project. To see which packages are loaded with renv for the workflow before installing them to the project library, run renv::dependencies().

r renv::restore()

If you are running a recent Mac OS, you will have to install a Fortran compiler manually for compiling the packages before running renv::restore().

Build

This project uses the targets package for managing the workflow of building and updating the data set.

r targets::tar_make()

Running tar_make() will execute the workflow as defined in _targets.R, skipping files ('targets') that have not changed since the last build process.

The targets pipeline is set to check for new voting records every twelve weeks only. To force running the scripts with the most recent data available, remove the cue arguments from the targets ballot_info and raw_voting_records in _targets.R.

You can use the scripts to assemble data sets with voting records of other members of Folketinget as well. To download voting records for other MPs, look up their ODA IDs at oda.ft.dk, add the IDs to the column MP_names$MP_id in the file available at ./data/processed/csv/MP_names.csv and then run targets::tar_make().

Use

This data is openly available to everyone and can be used for any research or educational purpose. If you use this data in your research, please cite as specified in CITATION.cff.

The following citation formats are also available through Zenodo:

Zenodo provides an API (REST & OAI-PMH) to access the data. For example, the following command will return the metadata for the most recent version of the data

bash curl -i https://zenodo.org/api/records/10517955

Support

This project is maintained by @mtwente. Please understand that we can't provide individual support via email. We also believe that help is much more valuable when it's shared publicly, so more people can benefit from it.

| Type | Platforms | | -------------------------------------- | ----------------------------------------------------------------------------- | | 🚨 Bug Reports | GitHub Issue Tracker | | 📊 Report bad data | GitHub Issue Tracker | | 📚 Docs Issue | GitHub Issue Tracker | | 🎁 Feature Requests | GitHub Issue Tracker | | 🛡 Report a security vulnerability | See SECURITY.md | | 💬 General Questions | GitHub Discussions |

Roadmap

  • implement links to MPs' Wikidata Objects, perhaps using P10207
  • implement gittargets
  • implement frictionless-r
  • implement tests
  • in addition to the Zotero Group, provide bibliography for scientific literature on Northatlantic MPs as BibTeX file.

Contributing

All contributions to this repository are welcome! If you find errors or problems with the data, or if you want to add new data or features, please open an issue or pull request. Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.

Versioning

We use SemVer for versioning. The available versions are listed in the tags on this repository.

Authors and acknowledgment

  • Moritz Twente - Initial work - mtwente

See also the list of contributors who contributed to this project.

Voting records and ballot results were retrieved from Folketinget's open data service under Folketinget's terms of service.

License

The data in this repository is released under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) License – see the LICENSE CC BY-SA file for details. By using this data, you agree to give appropriate credit to the original author(s) and to indicate if any modifications have been made.

The code in this repository is released under the GNU Affero General Public License v3.0 – see the LICENSE-AGPL file for details. By using this code, you agree to make any modifications available under the same license.

Owner

  • Name: Moritz Twente
  • Login: mtwente
  • Kind: user
  • Location: Basel

Citation (CITATION.cff)

cff-version: 1.2.0
title: nordatlantisk-ft
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - family-names: Twente
    given-names: Moritz
    orcid: 'https://orcid.org/0009-0005-7187-9774'
identifiers:
  - description: 'This is the collection of archived snapshots of all versions of nordatlantisk-ft'
    type: doi
    value: 10.5281/zenodo.10517954
  - description: 'This is the archived snapshot of version 0.1.0-alpha of nordatlantisk-ft'
    type: doi
    value: 10.5281/zenodo.10517955

repository-code: 'https://github.com/mtwente/nordatlantisk-ft'
abstract: >-
  Voting Records of Greenlandic and Faroese MPs in Folketinget.
keywords:
  - parliamentary data
  - parliament data
  - political science
  - Folketinget
  - Northatlantic Folketing
  - Greenland
  - Faroe Islands
license: CC-BY-4.0
version: 0.1.0-alpha
date-released: '2024-01-16'

GitHub Events

Total
  • Issues event: 5
  • Issue comment event: 2
  • Push event: 19
  • Pull request event: 4
  • Create event: 5
Last Year
  • Issues event: 5
  • Issue comment event: 2
  • Push event: 19
  • Pull request event: 4
  • Create event: 5

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 22
  • Total Committers: 1
  • Avg Commits per committer: 22.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 22
  • Committers: 1
  • Avg Commits per committer: 22.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Moritz Twente 1****e 22

Issues and Pull Requests

Last synced: almost 2 years ago

All Time
  • Total issues: 10
  • Total pull requests: 0
  • Average time to close issues: about 4 hours
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 10
  • Pull requests: 0
  • Average time to close issues: about 4 hours
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • mtwente (9)
Pull Request Authors
  • mtwente (3)
  • dependabot[bot] (1)
Top Labels
Issue Labels
bug (3) documentation (2) Mac OS (1) enhancement (1)
Pull Request Labels
dependencies (1)

Dependencies

.github/workflows/changelog.yaml actions
  • actions/checkout v4 composite
  • orhun/git-cliff-action v2 composite
.github/workflows/greetings.yml actions
  • actions/first-interaction v1 composite
.github/workflows/label.yml actions
  • actions/labeler v4 composite
package-lock.json npm
  • 175 dependencies
package.json npm
  • commitizen ^4.3.0 development
  • cz ^1.8.2 development
  • cz-conventional-changelog ^3.3.0 development
  • git-cliff ^1.3.1 development
  • husky ^8.0.3 development
  • prettier ^3.0.3 development
pnpm-lock.yaml npm
  • 190 dependencies