home / cp40x

names

6 rows where case_id = 2392239

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5119844 2392239 2392239 plaintiff Smyth Thomas     Smyth, Thomas 0
5119845 2392239 2392239 defendant Wylde Richard carpenter 611035 611035 Wylde, Richard, of Upmynster, carpenter 0
5119846 2392239 2392239 defendant Luk Nicholas husbandman 848639 848639 Luk, Nicholas, of Foteskrey, Kent, husbandman 1
5119847 2392239 2392239 defendant Serle Nicholas husbandman 587945 587945 Serle, Nicholas, of Dagenham, husbandman 2
5119848 2392239 2392239 defendant Wade John husbandman 585902 585902 Wade, John,of Reynham, husbandman 3
5119849 2392239 2392239 defendant Hull John husbandman 596481 596481 Hull, John, of Northflete, Kent, husbandman 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 11.323ms