home / cp40x

names

10 rows where case_id = 2370437

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5046012 2370437 2370437 plaintiff Lumley Marmaduke   763050 763050 Lumley, Marmaduke, of Lincoln, bishop 0
5046013 2370437 2370437 defendant Daddesley John   758102 758102 Daddesley, John, of Eyleston 0
5046014 2370437 2370437 defendant Daddesley William   758102 758102 Daddesley, William, of Eyleston 1
5046015 2370437 2370437 defendant Orston Henry   586459 586459 Orston, Henry, of Stoke 2
5046016 2370437 2370437 defendant Draper John   593280 593280 Draper, John, of Flyntham 3
5046017 2370437 2370437 defendant Gosse Thomas   758102 758102 Gosse, Thomas, of Eyleston 4
5046018 2370437 2370437 defendant Gosse John butcher 758102 758102 Gosse, John, of Eyleston, butcher 5
5046019 2370437 2370437 defendant Thorp David   758102 758102 Thorp, David, of Eyleston 6
5046020 2370437 2370437 defendant Crophill Thomas   598117 598117 Crophill, Thomas, of Sybthorp 7
5046021 2370437 2370437 defendant Ardeslowe William     Ardeslowe, William, 8

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