home / cp40x

names

6 rows where case_id = 1978510

✎ 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
3865042 1978510 1978510 plaintiff Mayne John, senior gent   Mayne, John, senior, gent 0
3865043 1978510 1978510 defendant Myre John husbandman 599416 599416 Myre, John, of Iden, Sussex, husbandman 0
3865044 1978510 1978510 defendant Mede Hugh husbandman 620373 620373 Mede, Hugh, of Wodcherche, husbandman 1
3865045 1978510 1978510 defendant Robyn James butcher 611841 611841 Robyn, James, of Lydde, senior, butcher 2
3865046 1978510 1978510 defendant Fenner Thomas innholder 605106 605106 Fenner, Thomas, of Faversham, innholder 3
3865047 1978510 1978510 defendant Sawyer John yeoman 605106 605106 Sawyer, John, of Faversham, yeoman 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 6.476ms