home / cp40x

names

6 rows where case_id = 2263377

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4693205 2263377 2263377 plaintiff Barbour William   605984 605984 Barbour, William, of Newcastle upon Tyne 0
4693206 2263377 2263377 defendant russell John yeoman 785595 785595 russell, John, of Neweburn, Northumberland, yeoman 0
4693207 2263377 2263377 defendant Wodeburn William yeoman 782217 782217 Wodeburn, William, of Neweburn, yeoman 1
4693208 2263377 2263377 defendant Pra_ma Ann widow 605984 605984 Pra_ma, Ann, of Newcastle upon Tyne, widow 2
4693209 2263377 2263377 defendant Lee Anne tapster 598666 598666 Lee, Anne, of Newcastle, tapster 3
4693210 2263377 2263377 defendant Scotton Joan widow 598666 598666 Scotton, Joan, of Newcastle, widow 4

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