Code Monkey home page Code Monkey logo

election-nepal's People

Contributors

aatishnn avatar amitness avatar msucil avatar nikeshbalami avatar sagargg avatar techgaun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

election-nepal's Issues

Edit project of module

Edit project of the module and add keep the logo of Open Knowledge Nepal and Code for Nepal, this will be the collaborative project of both organization.

As a user, i would like to be able to get enough details

As a user, I would like to be able to get details when I click Districts.

Details can be on

  1. Gaupalik
  2. Nagarpalika
  3. UPAMAHANAGARPLIKA
  4. MAHANAGARPALKIA
  5. registered POLITICAL PARTIES
    candidates from political parties and any more information about them.
  6. TOTAL POPULATION
  7. TOTAL registered VOTERS

Add Datasets Categories

The faster we do, better it would be because only limited data sets are pushed till now and can be editable. Later it can be difficult as data sets increases.

  • Province Wies (1,2....7)
  • Voters
  • Candidates
  • Political Parties
  • Federal
  • Results
  • Districts
    etc etc

Improve Contribution Section in README

  • Introduce newcomers to parts they can contribute
  • Include the guidelines: issues, PR, branches
  • Introduce label Help Wanted. It means these issues are specifically open for external contributors.

Update link to datasets in Recent Data with GitHub datasets links

Currently, the datasets under Recent Data section in hosted on the site itself. We could link the datasets to the the CSV in GitHub repo.

Example:

Replace

http://electionnepal.org/static/media/uploads/Data/total_number_of_registered_political_parties_per_districts.csv

with

https://raw.githubusercontent.com/okfnepal/election-nepal-data/master/Total%20number%20of%20registered%20political%20parties%20per%20districts.csv

That way, we can update the datasets on GitHub itself and the change is posted. We don't need to crossupdate both on the site and on GitHub twice.

Make portal Mobile friendly

The current site is great but we are already receiving lots of queries regarding site compatibility on mobile devices. What can be done to make it friendly?

provide db fixture

as for starting development, do you guys offer db fixture that we can use with python manage.py loaddata. I can't seem to find the source. It would also be great to keep the current db state available (via scheduled sync or something) so that we can pull that.

Displaying json data of current result

I have scrapped the election result from the election.comission website but it is in json so we may have to convert it into csv to display on the site.

Reverse the Dataset module

Let's reverse the datasets module, the newly added datasets need to be in top, currently its opposite.

Compare Candidates

Are the plans and policies of nominated candidates shared publicly?

If so, we could create a prototype of a tool that allows comparing two candidates for a position based on several factors such as their age, education level, achievements, affiliated party, their policies on [X, X, X], views on X, Y, Z.?

If I'm not sure whom to vote, this tool can help me take decision based on the factual data rather than on basis of what others suggest.

It could be a part of this project or spin off as a separate tool.

Adding ssl support

Does the webhosting support custom ssl?

As a supporter of SSL Everywhere, I would like to recommend using letsencrypt to get the free ssl certificate.

@nikeshbalami

Also @nikeshbalami if we have email we may directly ask election comission for the data. (diyo bhane bhai go ni ๐Ÿ˜„

Adding list of candidates.

I want to point out to this news post. http://www.onlinekhabar.com/2017/05/579117/ containing the list of candidates.

I was unable to find the list of candidates from the official source but we should keep this data. It may be helpful if we want to create polls.

Also if we can we should enquire election commission for detail candidate list and information including those candidates from ward.

I have no idea who has stood up as ward members they would take crucial role of minister of local goverment and media is not giving them space.

Visualization voters between 18-25

As an audience, I would like to see the visualization of total number of voters who are between age 18-15 and also would like to have a breakdown of boys vs girls

Can't load data from database fixture

Running this command is giving me error.

python manage.py loaddata  election-nepal-fixture.json 
  File "/home/anon/Desktop/workspace/election-project/election-nepal/venv/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py", line 337, in execute
    return Database.Cursor.execute(self, query, params)
django.db.utils.IntegrityError: Problem installing fixture '/home/anon/Desktop/workspace/election-project/election-nepal/election-nepal-fixture.json': Could not load contenttypes.ContentType(pk=1): UNIQUE constraint failed: django_content_type.app_label, django_content_type.model

@techgaun

Add FAQ page under About Us dropdown

Let's add FAQ page so that we can make users clear about how Portal works, how they can use Data and contribute. Until now many are confused about how to contribute.

Filtering features at Dataset Module

It would be awesome if we can add some filtering features at Dataset menu, As project progress, we will generate and have lots of Data and it will difficult for users to find required data without filtering options.

Font and Twitter Feed Module

The whole font looks pretty odd, can we use another and "Recent Data" is written at Twitter Feed Module. Can we incorporate more than one hashtag? #LocalElection #NepalVotes and others?

Display limited number of Datasets at Dataset page

Displaying all datasets at one page kinda looks a mess and would be more difficult once datasets start increasing. How about displaying it with page no, and displaying only limited numbers of datasets.

Redirection and attribution

Redirect to home page while click on Election Nepal logo and attribution page for the background image used.

Enable gzip compression

Google PageSpeed insights gives a very low ranking 38 for the site: PageSpeed Results

It is suggesting to enable gzip compression for these files.

Compressing http://electionnepal.org/โ€ฆts/javascripts/nepal-districts.topo.json could save 189.1KiB (79% reduction).
Compressing http://electionnepal.org/static/assets/stylesheets/style.css could save 128KiB (84% reduction).
Compressing http://electionnepal.org/static/assets/javascripts/leaflet.js could save 96KiB (73% reduction).
Compressing http://electionnepal.org/static/assets/stylesheets/leaflet.css could save 8.5KiB (76% reduction).
Compressing http://electionnepal.org/static/assets/javascripts/common.js could save 5.2KiB (75% reduction).

@sagargg I researched and it's suggested on internet to enable gzip from server configuration rather than from Django, if server supports it.

Optimize Images

Google Page Speed Insights suggests we can get upto 400KB reduced by optimizing images.

Coverage dropdown not displayed

Coverage menu is not displayed at dropdown while we are in About Us page, It okay for another page, not setup for About Us.

Results filter not working, others works

I had added a couple of result datasets under Results categories but while filtering it doesn't show. Others categories filter work fine, there is "S" missing, is that causing a problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.