home / cp40x

names

8 rows where case_id = 1975394

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3855602 1975394 1975394 plaintiff Webbe Simon     Webbe, Simon 0
3855603 1975394 1975394 defendant Bett John chapman 640488 640488 Bett, John, of Hoo St Warburge, Kent, chapman 0
3855604 1975394 1975394 defendant Kyme William laborer 627004 627004 Kyme, William, of Hoo St Warburge, laborer 1
3855605 1975394 1975394 defendant Pamflette John yeoman 640486 640486 Pamflette, John, of St John Baptist, Isle of Thanet, Kent, yeoman 2
3855606 1975394 1975394 defendant Robynson Dirick tailor 613578 613578 Robynson, Dirick, of St John Baptist, Isle of Thanet, tailor 3
3855607 1975394 1975394 defendant Robynson Margaret Margaret, widow   Margaret his wife, formerly Letherer, Margaret, widow 4
3855608 1975394 1975394 defendant Felmsham John (legal representative)   Felmsham, John, executor of 5
3855609 1975394 1975394 defendant Harvarde William husbandman 640489 640489 Harvarde, William, of Harkyngdon, Beds, husbandman 6

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