home / cp40x

names

7 rows where case_id = 2400265

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5147005 2400265 2400265 plaintiff Champernoun Roger esq   Champernoun, Roger, esq 0
5147006 2400265 2400265 defendant Alyn John yeoman 593456 593456 Alyn, John, of Hurdewyke, yeoman 0
5147007 2400265 2400265 defendant Wolrigge Peter husbandman 593171 593171 Wolrigge, Peter, of Milton Abbot, husbandman 1
5147008 2400265 2400265 defendant Rowe John husbandman 593171 593171 Rowe, John, of Milton Abbot, husbandman 2
5147009 2400265 2400265 defendant Frensship John yeoman 593456 593456 together with Frensship, John, of Hurdewyke, yeoman 3
5147010 2400265 2400265 defendant Wolrygge Nicholas husbandman 599564 599564 Wolrygge, Nicholas, of Coryton, husbandman 4
5147011 2400265 2400265 defendant Alyn Nicholas husbandman 609963 609963 Alyn, Nicholas, of Thrusshelton, 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 8.939ms