{"size": 1340, "ext": "js", "max_stars_repo_path": "src/make-data.js", "max_stars_repo_name": "modernserf/hashtags-for-humans", "max_stars_repo_stars_event_min_datetime": "2015-12-02T02:07:25.000Z", "max_stars_repo_stars_event_max_datetime": "2016-06-21T20:54:51.000Z", "max_issues_repo_path": "src/make-data.js", "max_issues_repo_name": "modernserf/hashtags-for-humans", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/make-data.js", "max_forks_repo_name": "modernserf/hashtags-for-humans", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.6129032258, "max_line_length": 47, "alphanum_fraction": 0.5052238806}
"use strict";

const cols = 8;
const rows = 3;

var m = "male",
    f = "female",
    nh = "brunette",
    rh = "redhead",
    bh = "blond",
    wh = "white hair",
    ne = "brown eyes",
    be = "blue eyes",
    hat = "hat",
    glasses = "glasses",
    mst = "mustache",
    beard ="beard",
    bald = "bald";

export const tags = [m,f,nh,rh,bh,wh,ne,be,
    hat,glasses,mst,beard,bald];

const rawData = [
    ["Alex",m, nh, ne, mst],
    ["Alfred",m, rh,be,mst],
    ["Anita", f, bh,be],
    ['Anne',f, nh,ne],
    ["Bernard",m,nh,ne,hat],
    ['Bill',m,rh,ne,beard,bald],
    ['Charles',m,bh,ne,mst],
    ['Claire',f,rh,ne,glasses,hat],
    ['David',m,bh,ne,beard],
    ['Eric',m,bh,ne,hat],
    ['Frans',m,rh,ne],
    ['George',m,wh,ne,hat],
    ['Herman',m,rh,ne,bald],
    ['Joe',m,bh,ne,glasses],
    ['Maria',f,nh,ne,hat],
    ['Max',m,nh,ne,mst],
    ['Paul',m,wh,ne,glasses],
    ['Peter',m,wh,be],
    ['Philip',m,nh,ne,beard],
    ['Richard',m,nh,ne,beard,mst],
    ['Robert',m,nh,be],
    ['Sam',m,wh,ne,bald],
    ['Susan',f,wh,ne],
    ['Tom',m,nh,be,glasses]
];

export const data = rawData.map((x,i) => {
    const [name, ...tags] = x;
    const col = i % cols;
    const row = (i - col) / rows;
    return {
        name, tags, row, col,
        "picture": "http://placehold.it/32x32",
    };
});

export default data;

