home / cp40x

names

7 rows where case_id = 1873151

✎ 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
3617666 1873151 1873151 plaintiff Fyge Thomas     Fyge, Thomas 0
3617667 1873151 1873151 defendant Gyrdeler John smith 589220 589220 Gyrdeler, John, of Chalk, smith 0
3617668 1873151 1873151 defendant Abraham William sawyer 594801 594801 Abraham, William, of Mylton juxta Gravesend, sawyer 1
3617669 1873151 1873151 defendant Flower William husbandman 588779 588779 Flower, William, of Gravesend, husbandman 2
3617670 1873151 1873151 defendant Cullung Thomas husbandman 594802 594802 Cullung, Thomas, of Denton juxta Gravesend, husbandman 3
3617671 1873151 1873151 defendant Garard Lawrence (legal representative)   Garard, Lawrence, executors of 4
3617672 1873151 1873151 defendant Mychell George juxta Gravesend husbandman   (Mychell, George juxta Gravesend, husbandman 5

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