bigquery

BigQuery import and processing pipelines

  • 所有者: HTTPArchive/bigquery
  • 平台:
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

HTTP Archive + BigQuery data import

Note: you don't need to import this data yourself, the BigQuery dataset is public! Getting started.

However, if you do want your own private copy of the dataset... The following import and sync scripts will help you import the HTTP Archive dataset into BigQuery and keep it up to date.

$> sh sync.sh Jun_15_2013
$> sh sync.sh mobile_Jun_15_2013

That's all there is to it. The sync script handles all the necessary processing:

  • Archives are fetched from archive.org (and cached locally)
  • Archived CSV is transformed to BigQuery compatible escaping
    • You will need +pigz+ installed for parallel compression
  • Request files are split into <1GB compressed CSV's
  • Resulting pages and request data is synced to a Google Storage bucket
  • BigQuery import is kicked off for each of compressed archives on Google Storage

After the upload is complete, a copy of the latest tables can be made with:

$> bq.py cp runs.2013_06_15_pages runs.latest_pages
$> bq.py cp runs.2013_06_15_pages_mobile runs.latest_pages_mobile
$> bq.py cp runs.2013_06_15_requests runs.latest_requests
$> bq.py cp runs.2013_06_15_requests_mobiel runs.latest_requests_mobile

(MIT License) - Copyright (c) 2013 Ilya Grigorik

主要指标

概览
名称与所有者HTTPArchive/bigquery
主编程语言Jupyter Notebook
编程语言Ruby (语言数: 6)
平台
许可证
所有者活动
创建于2013-06-04 00:58:31
推送于2025-03-02 12:54:00
最后一次提交2025-03-02 12:53:58
发布数0
用户参与
星数67
关注者数13
派生数23
提交数502
已启用问题?
问题数42
打开的问题数2
拉请求数149
打开的拉请求数0
关闭的拉请求数14
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?