Welcome to the GitHub repository for the Mountainbike & Politics project. This platform was created to support better bike policies in the Canton of Zug by providing a transparent comparison of candidates' positions on mountain biking ahead of the National and Council of States elections in 2023.
Our goal is to offer a decision-making aid to mountain biking enthusiasts and other interested individuals, helping them to make informed voting decisions. The platform presents candidates' positions based on responses to an online questionnaire with eight questions. Participation was voluntary, and the results were published at the end of September 2023.
We are a dedicated group of mountain bike enthusiasts who are passionate about promoting and enhancing the mountain biking experience in Zug. Our goal is to advocate for the interests of mountain bikers, improve bike infrastructure, and create exciting opportunities for riders of all ages and skill levels.
The website is developed using Next.js, and data analysis is performed using R.
- analysis: Contains R scripts and related files for data analysis.
- public: Static files like images and icons used by the Next.js application.
- src: Source code for the Next.js application.
- Node.js
- R and RStudio (for data analysis)
-
Clone the repository
-
Install the dependencies:
npm install
-
Run the development server:
npm run dev
-
Open http://localhost:3000 to view it in the browser.
To perform data analysis, navigate to the analysis directory and open
analysis.Rmd
in R Studio. Data is not provided in the repository. If you need
access to the data, please request it by contacting the repository maintainers.
Contributions to this project are welcome! If you have any suggestions, improvements, or bug fixes, please feel free to submit a pull request. For major changes, please open an issue first to discuss the proposed changes.
This project is licensed under the MIT License.