okfnepal / election-nepal Goto Github PK
View Code? Open in Web Editor NEWA crowdsourced open portal that brings all kind of Data related to Nepal's Local Election.
Home Page: http://electionnepal.org
License: MIT License
A crowdsourced open portal that brings all kind of Data related to Nepal's Local Election.
Home Page: http://electionnepal.org
License: MIT License
There is a fabfile and requirements.txt. I see certain environment variables are also being used. Need instructions on how to setup it locally.
The page title for previewing data is incomplete: http://electionnepal.org/data-preview/46/
| Election Nepal - Data Portal
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.
Guys add About Us content at Homepage module: https://docs.google.com/document/d/1N3VTIbpm2g24A-iSIpAB7QRBCjG6UllQxh7r_C381So/edit?usp=sharing
Add Google analytics tracking code to track down activities going around.
As a user, I would like to be able to get details when I click Districts.
Details can be on
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.
Help Wanted
. It means these issues are specifically open for external contributors.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.
As a user, i would like to see data on the website rather on git
Features like
are missing, let's add those things slowly.
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?
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.
The logo ok_lg_logo_nepal_white_rgb.png itself is 256KB causing load delay.
Let's create space for Team and Contributor at About Us section to recognize everyone who is engaged in the project. What say??
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.
Update and redirect all the Datasets at Github repo for download. Currently it's only updated at Homepage, not inside Datasets menu.
Let's reverse the datasets module, the newly added datasets need to be in top, currently its opposite.
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.
We can use leaflet.min.js
and leaflet.min.css
provided by their site instead of leaflet.js
and leaflet.css
.
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.
Also @nikeshbalami if we have email we may directly ask election comission for the data. (diyo bhane bhai go ni ๐
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.
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
Remove that copyrights terms and add MIT Licence of Code and Creative Commons License for Content.
Same goes for Visualization Module, the new visualization need to be displayed first.
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
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.
Let's create space for Media Coverage under About Us so that we can bring together the link of the blog who cover about Election Nepal project.
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.
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?
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.
Remove Open Knowledge Nepal Bio and add Election Nepal About Us: https://docs.google.com/document/d/1N3VTIbpm2g24A-iSIpAB7QRBCjG6UllQxh7r_C381So/edit?usp=sharing
Redirect to home page while click on Election Nepal logo and attribution page for the background image used.
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.
Loading a 2.3 MB GeoJSON data is too slow and is not good for slow internet connections. For faster load times try using topojson instead.
I have a topojson for Nepal here: https://github.com/mesaugat/geoJSON-Nepal/blob/master/nepal-districts.topojson
It's only 237 KB. To use topojson with leaflet you'll have to include topojson.v1.min.js in your script.
Google Page Speed Insights suggests we can get upto 400KB reduced by optimizing images.
Coverage menu is not displayed at dropdown while we are in About Us page, It okay for another page, not setup for About Us.
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.
Let's create submit form for both Datasets and Visualization where users can recommend us to different datasets available.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.