databaker
databaker copied to clipboard
Command line tool to convert spreadsheets to databases, made for the UK's Office for National Statistics.
Bumps [pyhamcrest](https://github.com/hamcrest/PyHamcrest) from 1.9.0 to 2.0.4. Release notes Sourced from pyhamcrest's releases. V2.0.3 A whole pile of little updates and testing fixes Version 2.0.2 No release notes provided. Version 2.0.1...
pyhamcrest is listed here, but not required.
e.g. In ashe, where it has one header cell split into three cells in Excel. This is current code in recipe, which is horrid: https://github.com/scraperwiki/databaker/commit/6db4f5c379b1eb3e8eb5b18bf4b9cc43f21bb102
Small subselection of a giant file should not preview all the empty rows so we can see just the section that we are looking at without bringing down the whole...
This is a function of conversion segment, not a global function
import os os.listdir("/Applications/anaconda/lib/python3.5/site-packages/databaker") the tutorials directory is not installed into site-packages directory with pip install ['__init__.py', '__pycache__', 'constants.py', 'databaker_nbconvert.py', 'framework.py', 'jupybakecsv.py', 'jupybakehtml.py', 'jupybakeutils.py', 'overrides.py', 'richxlrd', 'structure_csv_default.py', 'tutorial.py']
All recipes begin with: `from databaker.constants import *` so it helps if this is less of a mess -- like, for example, we know about all the constants that it...
It should be: from databaker import * not from databaker.framework import * The framework module is historical from before we deleted all the prior feature code
At line 182 of overrides.py `# === Bag Overrides =======================================` is a set of functions that are actually member functions of xypath.Bag, where bag===self Same for some of the xypath.Table...
``` Traceback (most recent call last): File "/home/me/.virtualenvs/databaker/bin/bake", line 11, in sys.exit(main()) File "/home/me/.virtualenvs/databaker/local/lib/python2.7/site-packages/databaker/bake.py", line 328, in main per_file(fn, recipe) File "/home/me/.virtualenvs/databaker/local/lib/python2.7/site-packages/databaker/bake.py", line 272, in per_file obs = recipe.per_tab(tab) File...