home / cp40x

names

8 rows where case_id = 2412801

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5189950 2412801 2412801 plaintiff Lescrop John knight   Lescrop, John, knight 0
5189951 2412801 2412801 defendant Metcalfe Alexander   857643 857643 Metcalfe, Alexander, of Counterset, in Ayscarth 0
5189952 2412801 2412801 defendant Metcalfe Nicholas   857644 857644 Metcalfe, Nicholas, of Yorescote, in Ayscarth 1
5189953 2412801 2412801 defendant Wyn George   857645 857645 Wyn, George, of Gayle, in Ayscarth 2
5189954 2412801 2412801 defendant Dyndesale Reginald   736017 736017 Dyndesale, Reginald, of Gayle 3
5189955 2412801 2412801 defendant Stokdale John   776442 776442 Stokdale, John, of Askeryg 4
5189956 2412801 2412801 defendant Stirkhird James   776442 776442 Stirkhird, James, of Askeryg 5
5189957 2412801 2412801 defendant Henryson John   811521 811521 Henryson, John, of Baynbryg 6

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