Saving data, advanced

Each new column is given an affinity
according to the type of the value it is first given (text, integer, real). It is okay to save a string
in a column that was defined as an integer, but it will sometimes be converted if possible.
You can define a column with no affinity by giving it the name ending in "_blob".

Saving data, variables

It's often useful to be able to quickly and easily save one metadata
value. For example, to record which page the last run of the scraper managed to
get up to.
scraperwiki::save_var('last_page', 27);
print scraperwiki::get_var('last_page');