All Projects → okfn → Opendatasurvey

okfn / Opendatasurvey

Licence: other
The Open Data Survey application.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Opendatasurvey

Archeo Lex
Pure Histoire de la Loi française – Git + Markdown
Stars: ✭ 92 (-29.77%)
Mutual labels:  opendata
Awesome Public Datasets
A topic-centric list of HQ open datasets.
Stars: ✭ 46,797 (+35622.9%)
Mutual labels:  opendata
England
Football data for England (and Wales) incl. English Premier League, The Football League (Championship, League One, League Two), Football Conference etc.
Stars: ✭ 117 (-10.69%)
Mutual labels:  opendata
Covid19 Sir
COVID-19 SIR model estimation
Stars: ✭ 94 (-28.24%)
Mutual labels:  opendata
Wq.app
💻📱 wq's app library: a JavaScript framework powering offline-first web & native apps for geospatial data collection, mobile surveys, and citizen science. Powered by Redux, React, Material UI and Mapbox GL.
Stars: ✭ 99 (-24.43%)
Mutual labels:  survey
Awesome Datajournalism
Awesome list for data journalists and future data journalists
Stars: ✭ 113 (-13.74%)
Mutual labels:  opendata
Lib.reviews
A free/libre code and information platform for reviews of anything
Stars: ✭ 90 (-31.3%)
Mutual labels:  opendata
Pypsy
psychometrics package, including MIRT(multidimension item response theory), IRT(item response theory),GRM(grade response theory),CAT(computerized adaptive testing), CDM(cognitive diagnostic model), FA(factor analysis), SEM(Structural Equation Modeling) .
Stars: ✭ 123 (-6.11%)
Mutual labels:  survey
Reading Comprehension Question Answering Papers
Survey on Machine Reading Comprehension
Stars: ✭ 101 (-22.9%)
Mutual labels:  survey
Dwsurvey
Open Source Survey System. 最好用的开源问卷调查系统、表单系统。
Stars: ✭ 1,755 (+1239.69%)
Mutual labels:  survey
Surveyproject
Survey Project Webapplication - development, sources & releases
Stars: ✭ 97 (-25.95%)
Mutual labels:  survey
Finmind
Open Data, more than 50 financial data. 提供超過 50 個金融資料(台股為主),每天更新 https://finmind.github.io/
Stars: ✭ 1,357 (+935.88%)
Mutual labels:  opendata
Bird Recognition Review
A list of useful resources in the bird sound (song and calls) recognition, such as datasets, papers, links to open source projects and competitions
Stars: ✭ 116 (-11.45%)
Mutual labels:  survey
Hlidacstatu
Kompletní zdrojový kód pro web hlidacstatu.cz, související knihovny. Pomožte nám rozvíjet a vylepšovat jeden z největších a nejdůležitějších serverů pro transparentnost státu v ČR.
Stars: ✭ 93 (-29.01%)
Mutual labels:  opendata
Awesome Opendata Rus
Opendata resources in Russian / Открытые данные на русском языке
Stars: ✭ 121 (-7.63%)
Mutual labels:  opendata
Irail
iRail API / scraper
Stars: ✭ 91 (-30.53%)
Mutual labels:  opendata
Quick Survey
A tool for quick surveys, try it out. (No longer maintained).
Stars: ✭ 109 (-16.79%)
Mutual labels:  survey
Forms
📝 Simple form & survey app for Nextcloud
Stars: ✭ 127 (-3.05%)
Mutual labels:  survey
Factbook
factbook gem - scripts for the world factbook (get open structured data e.g JSON etc.)
Stars: ✭ 121 (-7.63%)
Mutual labels:  opendata
Libreborme
Plataforma web para la consulta y el análisis del Boletín Oficial del Registro Mercantil
Stars: ✭ 116 (-11.45%)
Mutual labels:  opendata

Open Data Census

Travis Build Status Coverage Status

Open Data Census is a web application that supports a submission and reviews workflow to collect information on the state of open data.

Some presentation of data is supported, along with partitioning results by year.

The code base supports multiple censuses in a multi-tenant configuration, where each tenant runs a census from a subdomain.

Tenant administrators can customize parts of the app, from look and feel to key texts on various views.

Demo Site

If you want to check out what an Open Data Census site looks like we have a demo site running at:

http://demo.census.okfn.org/

Overview

See: http://census.okfn.org/

Getting started

Open Data Census is a Node.js app, running Express v4 and Postgres 9.4 for the database.

Get a local server setup with the following steps:

NOTE: If you need to prefix your commands in your local environment with sudo, then do that.

  1. Install Postgres 9.4 on your machine.
  2. Setup to appropriate credentials on Google and Facebook so they are OAuth providers for your app.
    • For Google: follow these steps
      • The callBack url for Google+ API is: http://id.dev.census.org:5000/google/callback
    • For Facebook: follow these steps
      • The callBack url for Facebook is: http://id.dev.census.org:5000/facebook/callback
  3. Ensure you are running the supported version of Node.js, which is declared in the 'engines' section of package.json.
  4. Create a database with createdb opendatacensus.
  5. Add this line to your hosts file: 127.0.0.1 demo.dev.census.org global.dev.census.org id.dev.census.org system.dev.census.org.
  6. Create a local directory called opendatasurvey and move into it with cd opendatasurvey.
  7. Clone the code with git clone https://github.com/okfn/opendatasurvey ..
  8. Install the dependencies with npm install.
  9. Create a copy of settings.json.example file and name it settings.json changing any values as required.

Now we should be ready to run the server:

  1. Run the app with npm start (the server will be run on the 5000 port)
  2. Log in at http://id.dev.census.org:5000/login with your admin account (the same that was setup on the settings.json file)
  3. Load registry and config data at http://system.dev.census.org:5000/control
  4. Load the data for a specific site, e.g.: http://demo.dev.census.org:5000/admin
  5. Visit the site: http://demo.dev.census.org:5000/

Other things you can do:

  • Run the test suite with npm test
  • Check your code style with npm run lint using the eslint config /.eslintrc.

Configuration Sheets

Most of the site configuration is taken from config sheets in Google Sheets. You can use this registry sheet and its linked sheets as examples and clone them as necessary.

NOTE: Ensure your registry and all other config sheets have been published as CSV in Google Sheets (click File, Publish to the Web).

Deployment

We run deployments on Heroku. The app should run anywhere that you can run Node.js and Postgres. The important thing to remember for deployments is that the settings.json file you are using for local development is not available, and therefore you need to configure several settings via environment variables. The key settings you should ensure are set:

  • SESSION_SECRET
  • BASE_DOMAIN
  • DATABASE_URL
  • SYS_ADMIN
  • FACEBOOK_APP_ID
  • FACEBOOK_APP_SECRET
  • GOOGLE_APP_ID
  • GOOGLE_APP_SECRET

i18n For Templates and core code

When templates or strings in core code change, the translations have to be changed. Extract strings to the messages.pot file by running this command:

./node_modules/.bin/gulp pot

You will need the GNU gettext commands. See here for more information.

To update the existing .po files, run:

./node_modules/.bin/gulp update-po

To add a new language, create the directory locale/[language-code]/LC_MESSAGES and create the translation files (*.po). Alternatively, you can copy the locale/en directory to locale/[language-code] and change existing files.

To update the translations cache, run:

./node_modules/.bin/gulp compile-po

i18n For Config

Any column can be internationalised by adding another column with @locale after it. For example, the description column can be translated to German by adding a column of [email protected]. Only languages which have template translations created for them are valid. The locales setting in the config document can be used to restrict the number of locales available. The first locale in the list is the default locale.

Removing a user

A script is provided to remove users by provider id. Removing a user will update entries where the user is a submitter or reviewer (changing the user id to the anonymous user), then remove the user.

$ npm run anonymize_user -- <provider-id>

Use -d to perform a dry run, which will print the user id, and entry ids which will be affected (where the user is either a submitter or reviewer).

Running Tests

createdb opendatacensus_test
npm test
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].