This mobile application aims to enhance political transparency of the Swedish Parliament(Riskdagen). Our idea stemmed from the observation that very few Swedish citizens are aware of their party's voting records, often leading to uncertainty about whether their chosen party's actions align with their beliefs or not. We simply asked ourselves: Does the average Swedish citizen truly understand what is happening in the Swedish Parliament? The answer was no; staying updated required too much effort.
As a solution, we developed a user-friendly mobile application where users can quickly access relevant parliament votings. Users can here gain insights into the parties' stances on specific political questions and see if the parties are keeping up their political promises. Furthermore, we have added more functions such as providing data about specific party members (ledamöter) such as their attendance rates and their yes/no voting ratings compared to their party.
By providing a clear, user-friendly view of what's happening in the parliament, we hope that our app empowers users to become more politically informed citizens.
All data within our application is directly gathered from Riksdagen's open APIs.
- Clone the repository:
git clone https://github.com/LudwigJL/voteringsportalen
- Navigate to the project directory:
cd voteringsportalen
- Set up flutter in Visual Studio Code: For detailed instructions on installing Flutter and setting up your development environment, please refer to the official Flutter Installation Guide.
For optimal testing and development, it is recommended to execute the application within a chosen Simulator or Emulator. This ensures a comprehensive evaluation of the application's functionality in a controlled environment.
To initiate the application:
-
Open the Project in Visual Studio Code:
- Launch Visual Studio Code.
- Open the project by navigating to the project directory.
-
Prepare Simulator or Emulator:
- Launch your preferred Simulator or Emulator.
- Ensure the device is connected; you can verify this in the bottom right corner of Visual Studio Code.
-
Run the Application:
- In Visual Studio Code, either:
- Click the "Run" button.
- Or, run the following command in the terminal:
flutter run
- In Visual Studio Code, either:
After successfully running the application in a Simulator or Emulator, you may want to install it on a physical device for real-world testing. Follow these steps:
-
Build the Application:
- Open a terminal in Visual Studio Code.
- Run the following command to build the application:
flutter build apk # For Android # or flutter build ios # For iOS
This command generates the necessary build files for your target platform.
-
Connect Your Device:
- Ensure your physical device is connected to your computer via USB.
-
Check Device Connection in Visual Studio Code:
- Look for your connected device in the bottom right corner of Visual Studio Code. You should see the device name.
-
Install the Application:
- Run the following command to install the application on your connected device:
flutter install
This will install the application on your connected device.
Now, you can launch the application directly from your device and conduct real-world testing.
For additional information and troubleshooting, refer to the Flutter documentation or your platform-specific guidelines. `