home / cp40x

names

6 rows where case_id = 2517683

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5542172 2517683 2517683 plaintiff Markby John woolmonger 585869 585869 Markby, John, of London, woolmonger 0
5542173 2517683 2517683 defendant Harrys Thomas clerk 664247 664247 Harrys, Thomas, of Doddyngton, Hunts, clerk 0
5542174 2517683 2517683 defendant Mounford John gent 586652 586652 Mounford, John, of Islyngton, gent 1
5542175 2517683 2517683 defendant Broun John laborer 595055 595055 Broun, John, of Shordiche, laborer 2
5542176 2517683 2517683 defendant Passage John yeoman 602640 602640 Passage, John, of Grenewich, Kent, yeoman 3
5542177 2517683 2517683 defendant Barker John potter 589934 589934 Barker, John, of Cheyham, Surrey, potter 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 16.715ms