home / cp40x

names

8 rows where place_id = 600591

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3641668 1907852 1907852 defendant Savage John merchant 600591 600591 Savage, John, of Yermouth, merchant 0
3653539 1911374 1911374 plaintiff Wright Richard   600591 600591 Wright, Richard, of Yermouth 0
3813466 1962125 1962125 plaintiff Echard Thomas   600591 600591 Echard, Thomas, of Yermouth 0
3819839 1964086 1964086 defendant Tayller Brian   600591 600591 Tayller, Brian, of Yermouth, gent, customs collector, port of Yarmouth 0
3901708 1990795 1990795 defendant Gryse Gilbert merchant 600591 600591 Gryse, Gilbert, of Yermouth, merchant 0
3909837 1993595 1993595 plaintiff Stanton John merchant 600591 600591 Stanton, John, of Yermouth, merchant 0
3917872 1996337 1996337 defendant Echard John merchant 600591 600591 Echard, John, of Yermouth, merchant 3
4494152 2198862 2198862 defendant Ramsey Ralph   600591 600591 Ramsey, Ralph, of Yermouth 0

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