home / cp40x

names

6 rows where case_id = 2416839

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5203720 2416839 2416839 plaintiff Coucher John     Coucher, John 0
5203721 2416839 2416839 defendant Day William shoemaker 586981 586981 Day, William, of Louth, shoemaker 0
5203722 2416839 2416839 defendant Derby William carpenter 603087 603087 Derby, William, of Caster, carpenter 1
5203723 2416839 2416839 defendant Puttok Thomas shoemaker 856951 856951 Puttok, Thomas, of Lagheton in the Mornyng, Yorks, shoemaker 2
5203724 2416839 2416839 defendant Carleton John shoemaker 820258 820258 Carleton, John, of Great Grymesby, Lincs, shoemaker 3
5203725 2416839 2416839 defendant Colum John butcher 859103 859103 Colum, John, of Salt Flete Haven, butcher 4

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 14.92ms