home / cp40x

names

10 rows where case_id = 2345713

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4962576 2345713 2345713 plaintiff Brounyng William clerk   Brounyng, William, clerk 0
4962577 2345713 2345713 defendant Pede Stephen carpenter 593865 593865 Pede, Stephen, of Uggeburgh, carpenter 0
4962578 2345713 2345713 defendant Pede Richard carpenter 593865 593865 Pede, Richard, of Uggeburgh, carpenter 1
4962579 2345713 2345713 defendant Monke William laborer 593865 593865 Monke, William, of Uggeburgh, laborer 2
4962580 2345713 2345713 defendant Monke John butcher 593865 593865 Monke, John, of Uggeburgh, butcher 3
4962581 2345713 2345713 defendant Were William weaver 593865 593865 Were, William, of Uggeburgh, weaver 4
4962582 2345713 2345713 defendant Donnewyll John cordwainer 593865 593865 Donnewyll, John, of Uggeburgh, cordwainer 5
4962583 2345713 2345713 defendant Gyldon John cordwainer 593865 593865 Gyldon, John, of Uggeburgh, cordwainer 6
4962584 2345713 2345713 defendant Dusteyn John, junior butcher 593865 593865 Dusteyn, John, junior, of Uggeburgh, butcher 7
4962585 2345713 2345713 defendant Stoddon William weaver 593865 593865 Stoddon, William, of Uggeburgh, weaver 8

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.124ms