home / cp40x

names

6 rows where case_id = 2451356

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5320950 2451356 2451356 plaintiff Langton William     Langton, William 0
5320951 2451356 2451356 defendant Swyne alias Salter Thomas husbandman 586291 586291 Swyne alias Salter, Thomas, of Fulstowe, husbandman 0
5320952 2451356 2451356 defendant Johnson Thomas husbandman 615326 615326 Johnson, Thomas, of Maunton, husbandman 1
5320953 2451356 2451356 defendant Herreson Robert yeoman 873063 873063 Herreson, Robert, of Kynnyerfery, yeoman 2
5320954 2451356 2451356 defendant Herreson John yeoman 674464 674464 Herreson, John, of Epworth, yeoman 3
5320955 2451356 2451356 defendant Qwyntyn Thomas husbandman 594154 594154 Qwyntyn, Thomas, of Laghton, 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 17.145ms