Git Product home page Git Product logo

aurora1's Introduction

aurora1

graph analysis of City of Aurora, IL expenditure reports

This analysis package is an example of a "graph" analysis. This graph analysis method is widely applicable to many large data sets and allows for detailed analysis of such data sets. The method is iterative and proceeds in a stepwise fashin, based on the results of previous iteration(s).

This analysis will be based on the following PDF data:

image

The first page of each PDF contains header information and then every subsequent page has the same output format, such as:

image

The individual files are downloaded to a directory and then converted to a text file

image

The text file can be opened in an editor. Every section begins with the same format below.

image

There are 262 seperate sections in the file being examined below

image

The data is given sperated into nine distinct "EAL DESCRIPTIONS" sections

image

The data is read with the code below and each time the "DEPT" line changes, the data for the previous block is printied out.

image

The DEPARTMENT TOTAL dollar amounts are converted to integers for building the graph

image

Further data can be extracted for each page of text. For now, we can build a graph using the data extracted in each printout block above.

The dollar amounts for each unique EAL code type are agregated below. The columns are the total dollars, the average dollars, and the # of report sections contributing dollars.

image

The FUND information can be added to the graph below. Adding the highlighted line of code causes the second order graph to accumulate and printout as shown.

image

aurora1's People

Contributors

kwd2 avatar

Watchers

 avatar

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.