Skip to content

Commit

Permalink
ENH: Adding parser for Assam budget
Browse files Browse the repository at this point in the history
  • Loading branch information
heaven00 committed Jul 13, 2018
1 parent 018bcff commit 71f4c75
Show file tree
Hide file tree
Showing 7 changed files with 11,247 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@
*.csv
*.swp
*.png

# data files
*.csv
*.xlsx
*.sqlite
17 changes: 17 additions & 0 deletions state_budget/assam/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Assam Budget Parser

This parser processes the xslx file provided by Assam Government and maps all the budget codes mentioned in the "Head of Description" to its respective description.

To use the script run

```python
python scripts/generate_processed_data.py path/to/the/xlsx/file
```

The above script will generate a csv and a sqlite file that can be consumed.

# Structure

**Exploration** contains the ipython notebooks used to do trials done for processing of the data file shared.

**scripts** contains the final code script that can be directly used to process the data file.
Loading

0 comments on commit 71f4c75

Please sign in to comment.