home / cp40x

names

9 rows where case_id = 2224637

✎ 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
4578040 2224637 2224637 plaintiff Chernok John     Chernok, John 0
4578041 2224637 2224637 defendant Markham William de     Markham, William de 0
4578042 2224637 2224637 defendant Wodehous William de son of Thomas   Wodehous, William de, son of Thomas 1
4578043 2224637 2224637 defendant Bette John     Bette, John 2
4578044 2224637 2224637 defendant Deken John   752745 752745 Deken, John, of Markham 3
4578045 2224637 2224637 defendant Melton John de     Melton, John de 4
4578046 2224637 2224637 defendant del More William     del More, William 5
4578047 2224637 2224637 defendant Brampton John de     Brampton, John de 6
4578048 2224637 2224637 defendant del Hill Alan     del Hill, Alan 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 15.491ms