home / cp40x

names

6 rows where case_id = 2455640

✎ 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
5335341 2455640 2455640 plaintiff George Duke of Clarence     George, Duke of Clarence 0
5335342 2455640 2455640 defendant Cokerham John husbandman 817575 817575 Cokerham, John, of Chylmelegh, husbandman 0
5335343 2455640 2455640 defendant Mersshford John laborer 817575 817575 Mersshford, John, of Chylmelegh, laborer 1
5335344 2455640 2455640 defendant Cokerham Thomas yeoman 874728 874728 Cokerham, Thomas, of Borchard Busshop, yeoman 2
5335345 2455640 2455640 defendant Kyngdon Nicholas laborer 615175 615175 Kyngdon, Nicholas, of Nymet Regis, laborer 3
5335346 2455640 2455640 defendant Barry John gent 590114 590114 Barry, John, of Boryngton, gent 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 15.105ms