Awesome
Introduction
This is the data for laweasyread. Please
run npm install
if you want to use any script in this project.
Script
Crawler
Scripts in crawler are used to crawl data and store them info rawdata.
Parser
Scripts in parser are used to parse rawdata and store them info data
The options of parser are listed as following:
--rawdata path
- Path of rawdata.
--output path
- Path of output.
Using default value will update rawdata and data directories:
Rawdata
rawdata contains all raw data from government. The description of each directory are listed as following:
- lawstat
- From 立法院法律系統
- utf8_lawstat
- UTF-8 version of lawstat. This is created by big5_to_utf8.sh in rawdata directory
- LawClassList
- From 全國法規資料庫
- Provide name and PCode mapping.
The lawstat is downloaded by twlaw.
Data
data contains json files for mongodb. Use the following command to create database:
./node_modules/.bin/lsc import.ls
Bugs
Please report any problem in here.
Copyright
The source code is under MIT License.
All data in this project are not the subject matter of copyright, according to Copyright Act § 9.