home / cp40x

names

6 rows where case_id = 1952987

✎ 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
3784654 1952987 1952987 plaintiff Mersshe John   600729 600729 Mersshe, John, of Rayne Parva 0
3784655 1952987 1952987 defendant Broun John laborer 601066 601066 Broun, John, of Depden, laborer 0
3784656 1952987 1952987 defendant Darcy Thomas gent 597660 597660 Darcy, Thomas, of Danbury, gent 1
3784657 1952987 1952987 defendant Lylford John husbandman 601066 601066 Lylford, John, of Depden, husbandman 2
3784658 1952987 1952987 defendant Gawge John yeoman 628819 628819 Gawge, John, of Gaffeld, yeoman 3
3784659 1952987 1952987 defendant hawkyn John laborer 628820 628820 hawkyn, John, of Old Sampford, laborer 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 13.574ms