home / cp40x

names

9 rows where case_id = 2244622

✎ 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
4645047 2244622 2244622 plaintiff Middelton Robert mercer 586067 586067 Middelton, Robert, of York, mercer 0
4645048 2244622 2244622 defendant Robynson Gilbert   605984 605984 Robynson, Gilbert, of Newcastle upon Tyne 0
4645049 2244622 2244622 defendant Bowyere Simon   610443 610443 Bowyere, Simon, of Pokelyngton 1
4645050 2244622 2244622 defendant Bautre Richard     Bautre, Richard 2
4645051 2244622 2244622 defendant Bonyfaunt John   669048 669048 Bonyfaunt, John, of Lancashire 3
4645052 2244622 2244622 defendant Brade William   619824 619824 Brade, William, of Kendale 4
4645053 2244622 2244622 defendant Graye Robert     Graye, Robert 5
4645054 2244622 2244622 defendant Langeton Robert skinner   Langeton, Robert, skinner 6
4645055 2244622 2244622 defendant Waldon Robert   777423 777423 Waldon, Robert, of Preston, Lancashire 7

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 13.25ms