<commit_before># Code for Tokyo Data Processing Tools

---
## `tools/shp2geojson/shp2geojson.py`

shape files to geojson.

### usage

```
$ python shp2geojson.py [-h] [-o OUT] files [files ...]
```

#### positional arguments

- `files`

#### optional arguments

- `-h`, `--help`            show this help message and exit
- `-o` OUT, `--output` OUT  output file name (default: stdout)

### requirements
- Fiona==1.6.2
- Shapely==1.5.12

---
## `tools/shp2geojson/mlit.py`

`shp2geojson` の国土数値情報向け設定

### usage

```
$ python mlit.py [-h] [-o OUT] files [files ...]
```

#### positional arguments

- `files`

#### optional arguments

- `-h`, `--help`            show this help message and exit
- `-o` OUT, `--output` OUT  output file name (default: stdout)

### requirements
- Fiona==1.6.2
- Shapely==1.5.12

---
## `tools/geojson/filter.py`

filter geojson by property.

### usage
```
$ python filter.py [-h] [-i I] [-o O] filters [filters ...]
```


#### positional arguments:
- `filters`           filter file name or python dictionary object

#### optional arguments:
-  `-h`, `--help`        show this help message and exit
-  `-i` I, `--input` I   input file name (default: stdin)
-  `-o` O, `--output` O  output file name (default: stdout)

## `tools/geojson/join.py`
join data with geojson.

### usage
```
$ join.py [-h] [-i I] [-d DELIM] [-o O] key dictionary
```

#### positional arguments:
  `key`                   key file name or raw string which represents join
                        keys.
  `dictionary`            dictionary file (json,csv or tsv) name

#### optional arguments:
  `-h`, `--help`            show this help message and exit
  `-i` I, `--input` I       input file name (default: stdin)
  `-d` DELIM, `--delimiter` DELIM
                        delimitor for key string
  `-o` O, `--output` O      output file name (default: stdout)<commit_msg>enumeration 	modified:   README.md<commit_after># Code for Tokyo Data Processing Tools

---
## `tools/shp2geojson/shp2geojson.py`

shape files to geojson.

### usage

```
$ python shp2geojson.py [-h] [-o OUT] files [files ...]
```

#### positional arguments

- `files`

#### optional arguments

- `-h`, `--help`            show this help message and exit
- `-o` OUT, `--output` OUT  output file name (default: stdout)

### requirements
- Fiona==1.6.2
- Shapely==1.5.12

---
## `tools/shp2geojson/mlit.py`

`shp2geojson` の国土数値情報向け設定

### usage

```
$ python mlit.py [-h] [-o OUT] files [files ...]
```

#### positional arguments

- `files`

#### optional arguments

- `-h`, `--help`            show this help message and exit
- `-o` OUT, `--output` OUT  output file name (default: stdout)

### requirements
- Fiona==1.6.2
- Shapely==1.5.12

---
## `tools/geojson/filter.py`

filter geojson by property.

### usage
```
$ python filter.py [-h] [-i I] [-o O] filters [filters ...]
```


#### positional arguments:
- `filters`           filter file name or python dictionary object

#### optional arguments:
-  `-h`, `--help`        show this help message and exit
-  `-i` I, `--input` I   input file name (default: stdin)
-  `-o` O, `--output` O  output file name (default: stdout)

## `tools/geojson/join.py`
join data with geojson.

### usage
```
$ join.py [-h] [-i I] [-d DELIM] [-o O] key dictionary
```

#### positional arguments:
-  `key`                   key file name or raw string which represents join
                        keys.
-  `dictionary`            dictionary file (json,csv or tsv) name

#### optional arguments:
-  `-h`, `--help`            show this help message and exit
-  `-i` I, `--input` I       input file name (default: stdin)
-  `-d` DELIM, `--delimiter` DELIM
                        delimitor for key string
-  `-o` O, `--output` O      output file name (default: stdout)
{'fraction_non_alphanumeric': 0.17695364238410596, 'fraction_numerical': 0.010066225165562914, 'mean_word_length': 2.4233907524932006, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5051942', 'n_tokens_mistral': 1346, 'n_tokens_neox': 1295, 'n_words': 413}