home / cp40x

names

6 rows where place_id = 692069

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, raw_segment

id ▼ case_id role surname forename occupation place_id raw_segment seq
4093028 2057821 2057821 plaintiff Ellis John gent 692069 692069 Ellis, John, of Bardesey, gent 0
4093031 2057822 2057822 plaintiff Ellis John gent 692069 692069 Ellis, John, of Bardesey, gent 0
5080920 2380788 2380788 defendant Lange John yeoman 692069 692069 Lange, John, of Bardesey, yeoman 0
5572038 2526370 2526370 defendant Stothley John yeoman 692069 692069 Stothley, John, of Bardesey, yeoman 0
5575775 2527509 2527509 defendant Sykes John miller 692069 692069 Sykes, John, of Bardesey, miller 0
5575777 2527510 2527510 defendant Sikes John miller 692069 692069 Sikes, John, of Bardesey, miller 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 13.469ms