<commit_before># IP Address Mapper

    A package to map ip addresses to ip address data.

## Quick Start

* `npm install`

## Usage

The `ip-mapper` will take the file path that you specify and read CSV data from the file. You can save your `*.csv` files in the `data` directory (its contents are ignored in `git`).

To use the script, you can run:

`node index.js -f [fileName]`

It will generate a new CSV file (relative to this directory called `/data/output/ipInfo.csv`) with the following columns:

- ID
- IPAddress
- city
- state
- zip<commit_msg>add instructions for running project<commit_after># IP Address Mapper

    A package to map ip addresses to ip address data.

This IP Address Mapper does a really simple thing: It reads a file (from the name that you pass in as an argument) and 

## Requirements

- `NodeJS` > v-0.10.0 (for running the project)
- `git` (for cloning down the project)

## Setup

In the terminal, run `git clone <EMAIL>:chaseadamsio/csvIPInfoMapper.git` in your workspace, change into the new directory (`csvIPInfoMapper`) and run `npm install`. 

## Quick Start

Already know what you're doing? Just run:

* `npm install`

## Usage

The `ip-mapper` will take the file path that you specify and read CSV data from the file. You can save your `*.csv` files in the `data` directory (its contents are ignored in `git`).

To use the script, you can run:

`node index.js -f [fileName]`

It will generate a new CSV file (relative to this directory called `/data/output/ipInfo.csv`) with the following columns:

- ID
- IPAddress
- city
- state
- zip
{'fraction_non_alphanumeric': 0.08745247148288973, 'fraction_numerical': 0.0025348542458808617, 'mean_word_length': 3.7417417417417416, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 5, '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': '3885504', 'n_tokens_mistral': 484, 'n_tokens_neox': 466, 'n_words': 238}