kgc

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2022 License: LGPL-2.1 Imports: 5 Imported by: 0

README

Kawasaki Garbage Collection CLI


川崎市のゴミ分別をCLIで検索するツールです。

CLI tool for searching information of garbage collection in Kawasaki City, Japan.

ごみのデータは 川崎市によるごみ分別オープンデータCC BY 4.0 に基づいて利用しています。

Garbage data is based on open data by Kawasaki city under CC BY 4.0 license.

How to Use

$ kgc "IH調理器"
小物金属(粗大ごみ)
最長辺30cm以上のものは粗大ごみとして出してください。/長辺30cm未満で、30cm×15cmの回収ボックスの投入口に入るものは小型家電としても出すことができます。
URL: http://www.city.kawasaki.jp/kurashi/category/24-1-23-1-1-6-9-0-0-0.html

How to Build DB

/resources 以下にオープンデータのCSVと、GoのMapに変換するPythonスクリプトが入っています。

python converter.py original.csv を実行し、実行結果を go_gc.csv と置き換えてください( go:embed しています)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL