home / cp40x

names

6 rows where case_id = 2469021

✎ 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
5378990 2469021 2469021 plaintiff Westby William     Westby, William 0
5378991 2469021 2469021 defendant Maye John brewer 880349 880349 Maye, John, of Idelstre or Elstree, brewer 0
5378992 2469021 2469021 defendant Lichefeld Hugh yeoman 586117 586117 Lichefeld, Hugh, of Coventry, yeoman 1
5378993 2469021 2469021 defendant Parkyn John colyer 593285 593285 Parkyn, John, of Rygge, colyer 2
5378994 2469021 2469021 defendant Merston John husbandman 880350 880350 Merston, John, of Chedyngden, Bucks, husbandman 3
5378995 2469021 2469021 defendant Merston Thomas husbandman 880351 880351 Merston, Thomas, of Langley Abbey, husbandman 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 11.79ms