/prefect-baseball-etl

ETL Workflow Sample for prefect and baseball.

Primary LanguagePythonMIT LicenseMIT

ETL Workflow Sample for prefect and baseball.

This repository contains Dockerfile of Log ETL for prefect.

baseballdatabank のCSVを取り込んでデータ生成をするsample.

Setting

事前にbaseballdatabank をlocalにclone

$ git clone git@github.com:chadwickbureau/baseballdatabank.git
$ cd baseballdatabank/core
$ pwd  # このpathを使います
/Users/hoge/baseballdatabank/core

install

local

$ python3 -m venv venv
$ source venv/bin/activate
(venv) $ pip install -r requirements.txt

Usage

local

(venv) $ python app.py --directory /Users/hoge/baseballdatabank/core --run-date 2020-07-30

Maintainer

@shinyorke(Shinichi-Nakagawa)