|
|
Introduction
News Viewer Inserter
Importer Exporter Download Documentation ContributionsContactSourceForge
HomeTo Do List |
IntroductiongSwing is free software for viewing election results and a
collection
of tools for maintaining the data. It shows the perfomance of the main
parties in elections over a number of years in a series of charts and
graphs. gSwing is written in java. News28.10.2008 - gSwing 0.7 is released - see release notes for what is new. ViewerThe main purpose of gSwing is
to view election results on web pages. The Viewer is a Java applet
that can be embedded in an html document or run from an appletviewer. The viewer displays the following information: Votes Cast Share of the Vote Percentage Change Graph The runtime election results are stored in compressed serialised files (created by the Exporter). The viewer reads these files across the internet, network or from a local machine and uses the data to draw the four canvases. Current Websites: InserterThe offline election results are stored in an SQL database. These results can be manually populated by Inserter. ImporterThe Importer is a command line tool that: Reads comma separated files (normally exported from a spreadsheet) containing election results and saves the data to an 'extended' EML standard XML file. Reads the XML files and populates the SQL database. ExporterThe Exporter is a command line tool that: Creates the runtime serialised files used by the Viewer. Creates XML files from the data stored in the SQL database. Creates CSV files from the data stored in the SQL database. DownloadWarning, gSwing is currently
in development, is buggy and may require some work to set up. However,
you are welcome to download it and set up your own election
database. Please email me any
updates you make to the code, suggestions or comments. Requirements:Java SDK 1.4 or greater. Operating System Linux / Unix (the only thing that is OS specific is the start up scripts and it should be easy to create your own, please email me the scripts you create so others get the benefit from them) Database Postgresql or Mysql. The download includes (an old) Postgresql and Mysql JDBC database driver, I would welcome people trying other databases. This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions; see the GNU General Public License for details. Current Version:DocumentationUser Manual is available with download. ContributionsGeorge Hamilton, Scotland. Many thanks to Francis Laidoowoo, France, for help with the web site. ContactPlease email me any bugs, fixes, comments or suggestions. |