uhjish / survey_stats

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Coverage Status Requirements Status

Overview

Library and webservice for replicating survey statistics for various CDC Survey datasets using R and the survey package.

Installation

pip install survey-stats

Documentation

Endpoints:

GET: returns the questions in the dataset.

Response Content Type: application/json

Parameters:

Parameter: d Values: yrbss, prams, brfss Description: Specifies dataset Data Type: String

Example request: http://localhost:7777/questions?d=prams

GET: returns the available data that can be narrowed down using the parameters.

Response Content Type: application/json

Parameters:

Parameter: d Values: yrbss, prams, brfss Description: Specifies dataset Data Type: String

Parameter: q Values: Question ID (Example: qn32) Description: Narrow data set by question by specifying this parameter Data Type: String

Parameter: v Values: Description: Data Type: List of Strings

Parameter: f Values: Field name followed by values you are filtering for (Example: year:2001,2002) Description: Fields t

About

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 99.8%Language:Shell 0.2%