mlinksva / fccforensics

Determine public opinion on net neutrality issue via sourcing and sentiment analysis of FCC comments.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FCC Forensics

Determine public opinion on net neutrality issue via sourcing and sentiment analysis of FCC comments.

Based on https://github.com/csinchok/fcc-comment-analysis, plus more from Ragtag volunteers

Uses Elasticsearch to get data from [https://www.fcc.gov/ecfs/public-api-docs.html](FCC's public API)

Setup

Make sure you have python3

Set up a local Elasticsearch server: https://www.elastic.co/downloads/elasticsearch

Set up fcc-comment-analysis:

$ cd server
$ pip install -e .
$ python setup.py test

Create the index with mappings:

$ fcc create

Fetch and index some data from the FCC API:

$ fcc index --endpoint=http://localhost:9200/ -g 2017-06-01

Analyze data and add to analysis section of documents:

$ fcc analyze --endpoint=http://localhost:9200/

Set up a local Kibana server: https://www.elastic.co/downloads/kibana

Play in Kibana:

  • go to http://localhost:5601
  • go to Management / Configure an index pattern
    • Index name or pattern: fcc-comments
    • Index contains time-based events
    • Time-field name: date_dissemenated
    • Create

https://ragtag.org/connect

About

Determine public opinion on net neutrality issue via sourcing and sentiment analysis of FCC comments.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%