home / cp40x

names

6 rows where case_id = 1969826

✎ 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
3838081 1969826 1969826 plaintiff Syulyard William     Syulyard, William 0
3838082 1969826 1969826 plaintiff Danester John     Danester, John 1
3838083 1969826 1969826 plaintiff Senowe John     Senowe, John 2
3838084 1969826 1969826 plaintiff Broke Edward gent   Broke, Edward, gent 3
3838085 1969826 1969826 defendant Baryngton John esq 607898 607898 Baryngton, John, of Hatfeld Regis, esq 0
3838086 1969826 1969826 defendant Lyndesell Richard     Lyndesell, Richard 1

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