<commit_before># Artsy Maps

Generates a map visualization of interesting data.

![](https://s3.amazonaws.com/f.cl.ly/items/022d3b2M0Y0T2n1k192k/cimg.jpg)

## Setup

Copy the following collections from Artsy database to your local `gravity_development` mongo.

* `partner_locations`
* `partners`
* `users`

Get a backup of the impulse production database from heroku, and move it into a local postgres setup in `artsy-impulse-production`.

## Install node modules:

`yarn install`

Generate the geo points data, by using the coffescript files in the `data` dirs, then to start up the sites run

`npm run watch`

Then look at the html files inside `public/web`.<commit_msg>Add a link to the post<commit_after># Artsy Maps

Generates a map visualization of interesting data.

![](https://s3.amazonaws.com/f.cl.ly/items/022d3b2M0Y0T2n1k192k/cimg.jpg)

## Setup

Copy the following collections from Artsy database to your local `gravity_development` mongo.

* `partner_locations`
* `partners`
* `users`

Get a backup of the impulse production database from heroku, and move it into a local postgres setup in `artsy-impulse-production`.

## Install node modules:

`yarn install`

Generate the geo points data, by using the coffescript files in the `data` dirs, then to start up the sites run

`npm run watch`

Then look at the html files inside `public/web`.

## Docs

There's a write-up on the Artsy Blog: [Mashing Data, Making Maps](http://artsy.github.io/blog/2017/01/25/mashing-maps/).
{'fraction_non_alphanumeric': 0.09231805929919137, 'fraction_numerical': 0.022911051212938006, 'mean_word_length': 4.541044776119403, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2903211', 'n_tokens_mistral': 507, 'n_tokens_neox': 473, 'n_words': 184}