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

Missing col in sqlite table?

Đang mở
#2 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
15
Fork
4
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.