I was creating a scraper on the ScraperWiki website and wanted the table containing its data to be ordered by the values of a column of integers. However, both the 'View in a table' and 'Query with SQL' tools are only sorting the data alphanumerically (i.e. the values starting with 1 first, then the values starting with 2 &c) rather than by their numeric values.
This led me to believe that for some reason this column is being given a string type despite containing only integers, so I tried to use:
scraperwiki.sql.table_info('swdata')
which I found in the readme but this is giving me an attribute error.