home / cp40x

names

12 rows where case_id = 2205902

✎ 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
4517616 2205902 2205902 plaintiff Curwen William de knight   Curwen, William de, knight 0
4517617 2205902 2205902 defendant Scroghom John de, sen     Scroghom, John de, sen 0
4517618 2205902 2205902 defendant Scroghom John de jun   Scroghom, John de, jun 1
4517619 2205902 2205902 defendant Scrogham William de     Scrogham, William de 2
4517620 2205902 2205902 defendant Dobson Robert   765481 765481 Dobson, Robert, of Branthwayt 3
4517621 2205902 2205902 defendant Walker John, sen     Walker, John, sen 4
4517622 2205902 2205902 defendant Walker John jun   Walker, John, jun 5
4517623 2205902 2205902 defendant Taillour Robert   765481 765481 Taillour, Robert, of Branthwayt 6
4517624 2205902 2205902 defendant Kitson William     Kitson, William 7
4517625 2205902 2205902 defendant Kitson John     Kitson, John 8
4517626 2205902 2205902 defendant Banche Richard     Banche, Richard 9
4517627 2205902 2205902 defendant Henryson John     Henryson, John 10

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