home / cp40x

names

8 rows where case_id = 2429916

✎ 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
5249299 2429916 2429916 plaintiff Treffry Thomas     Treffry, Thomas 0
5249300 2429916 2429916 plaintiff Salter John     Salter, John 1
5249301 2429916 2429916 plaintiff Herde William     Herde, William 2
5249302 2429916 2429916 defendant Hycka Julian   864073 864073 Hycka, Julian, of Fawy, merhant 0
5249303 2429916 2429916 defendant Roche John tailor 753385 753385 Roche, John, of Fawy, tailor 1
5249304 2429916 2429916 defendant Dawe William mariner 753385 753385 Dawe, William, of Fawy, mariner 2
5249305 2429916 2429916 defendant Leyland John chapman 753385 753385 Leyland, John, of Fawy, chapman 3
5249306 2429916 2429916 defendant Bruer William mariner 753385 753385 Bruer, William, of Fawy, mariner 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 7.784ms