guardian / guardian/google-ad-database-processing-scripts

Missing col in sqlite table?

オープン
#2 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
15
フォーク
4
PR マージ指標
30日以内にマージされた PR はありません

説明

Looks like scraperwiki is looking for a "video_type" col - which doesn't automatically exist in the scraperwiki.sqlite file (at least not mine)

(manually adding that field allows script to run btw)

```
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such column: video_type
[SQL: select * from aus_ads where Ad_Type='Video' AND video_type IS NULL]

```

Cols I do automatically have:

Ad_ID
Ad_URL
Ad_Type
Regions
Advertiser_ID
Advertiser_Name
Ad_Campaigns_List
Date_Range_Start
Date_Range_End
Num_of_Days
Impressions
Spend_USD
First_Served_Timestamp
Last_Served_Timestamp
Age_Targeting
Gender_Targeting
Geo_Targeting_Included
Geo_Targeting_Excluded
Spend_Range_Min_USD
Spend_Range_Max_USD
Spend_Range_Min_AUD
Spend_Range_Max_AUD

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。