Giter Club home page Giter Club logo

survey's Introduction

###Search Survey

This repository contains source code for creating a web app that allows users to identify search results that are relevant for a given query.

###Dependencies

The development and production environments for this app use postgres as their database layer. If you don't have postgres installed on your machine, you'll need to install the database before being able to run the app locally.

On OSX with brew installed, you can install postgres with brew install postgres. The postgres homepage offers downloads for other operating systems.

###Quickstart

git clone https://github.com/duhaime/survey  
cd survey  
bundle install 
# start the postgres db server if it isn't running. E.g. on OSX:  
# postgres -D /usr/local/var/postgres  
rake db:drop db:create db:migrate db:seed  
rails server

If you navigate to localhost:3000, you should see the home page of the app:

Image of Homepage

After clicking Begin, users are prompted for a few pieces of identifying information:

Image of Researcher Form

Once this information is submitted, users are presented with a series of searches and their search results, and are asked to check all search results that seem relevant:

Image of Search Results

After one or more users have assessed the relevancy of one or more search results, one can view the user responses by navigating to localhost:3000/graph/show

Image of Graph ###Data Model

When user's click the "Begin" button on the site's initial page, they will enter their relevant information in a series of fields. The system will then assign the user a search_group_id, which designates one or more queries for which the user will evalaute search results.

Search results are fed into the app as .ris files, all of which are stored in db/exported_search_files/. The filenames of these ris files must follow the following conventions:

{n}_{q}.ris, where {n} designates the "search group" to which a search belongs, and {q} represents the query used to generate the results. Each search group is merely a collection of ris files that should be served to each user with the corresponding search_group_id.

survey's People

Contributors

duhaime avatar

Watchers

James Cloos avatar  avatar

Forkers

honorforlee

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.