home / cp40x

names

7 rows where case_id = 2203777

✎ 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
4510604 2203777 2203777 plaintiff Bartelot Simon mercer 585869 585869 Bartelot, Simon, of London, mercer 0
4510605 2203777 2203777 defendant Feltewell Thomas   753167 753167 Feltewell, Thomas, of Middlesex 0
4510606 2203777 2203777 defendant Shipman Thomas chapman 611755 611755 Shipman, Thomas, of Surrey, chapman 1
4510607 2203777 2203777 defendant Codyngham Robert   586070 586070 Codyngham, Robert, of Beverley 2
4510608 2203777 2203777 defendant Hotoft Robert chapman 689060 689060 Hotoft, Robert, of Lincolnshire, chapman 3
4510609 2203777 2203777 defendant Keteryngham Richard     Keteryngham, Richard 4
4510610 2203777 2203777 defendant Reynald Richard   762830 762830 Reynald, Richard, of Chestre 5

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