<commit_before>Trips History
=============

Convert from a trip-oriented JSON format for easy inputting to [GeoJSON](http://geojson.org/) for easy mapping.<commit_msg>Document the JSON trip format<commit_after>Trips History
=============

Convert from a trip-oriented JSON format for easy inputting to [GeoJSON](http://geojson.org/) for easy mapping.


JSON trip format
----------------
```json
{
    // List of travelers on any trip; for input verification
    "known travelers": ["..."],
    // List of cities visited for which you don't have a trip entry for
    // (i.e. a city you can claim to have visited but don't remember the trip
    //  details well enough to have a trip entry for it)
    "misc. cities visited": [
        ["location ...", ["travelers ..."]
    ],

    "trips": [
        {
            // A unique name for the trip
            "title": "...",
            // Who went on the trip
            "travelers": ["..."],
            // The month when the majority of the trip occurred
            "when": "YYYY-MM",
            // OPTIONAL: Where the trip started, if important
            "start": "...",
            // List of locations visited, in order; if you visited a city and
            // then returned back to a previous city (i.e. spoke-and-hub trip),
            // list the city you returned to each time so as to have travel
            // routes drawn accurately
            "where": ["..."],
            // OPTIONAL: Where the trip ended, if important
            "end": "..."
        }
    ]
}
```
{'fraction_non_alphanumeric': 0.14183474300585555, 'fraction_numerical': 0.0, 'mean_word_length': 1.8640595903165735, 'pattern_counts': {'":': 9, '<': 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': '2030666', 'n_tokens_mistral': 406, 'n_tokens_neox': 391, 'n_words': 172}