home / cp40x

names

8 rows where case_id = 2366974

✎ 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
5034576 2366974 2366974 plaintiff Strangways James knight   Strangways, James, knight 0
5034577 2366974 2366974 defendant Cusseworth John husbandman 589153 589153 Cusseworth, John, of Ruston, husbandman 0
5034578 2366974 2366974 defendant Ruston Thomas husbandman 589153 589153 Ruston, Thomas, of Ruston, husbandman 1
5034579 2366974 2366974 defendant Smyth Thomas husbandman 589153 589153 Smyth, Thomas, of Ruston, husbandman 2
5034580 2366974 2366974 defendant Calthorn William, senior husbandman 589153 589153 Calthorn, William, senior, of Ruston, husbandman 3
5034581 2366974 2366974 defendant Calthorn William, junior husbandman 589153 589153 Calthorn, William, junior, of Ruston, husbandman 4
5034582 2366974 2366974 defendant Walker John husbandman 589153 589153 Walker, John, of Ruston, husbandman 5
5034583 2366974 2366974 defendant Wylkynson John husbandman 589153 589153 Wylkynson, John, of Ruston, husbandman 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 15.243ms