home / cp40x

names

8 rows where case_id = 2361330

✎ 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
5015189 2361330 2361330 plaintiff Bonevyle William knight   Bonevyle, William, knight 0
5015190 2361330 2361330 defendant Polsawe Walter husbandman 835355 835355 Polsawe, Walter, of Tameton, husbandman 0
5015191 2361330 2361330 defendant Chepman John husbandman 835356 835356 Chepman, John, of Trebrek, husbandman 1
5015192 2361330 2361330 defendant Brode Walter husbandman 835357 835357 Brode, Walter, of Treswen, husbandman 2
5015193 2361330 2361330 defendant Geffrye Walter husbandman 587287 587287 Geffrye, Walter, of Launceston, husbandman 3
5015194 2361330 2361330 defendant William John yeoman 587287 587287 William, John, of Launceston, yeoman 4
5015195 2361330 2361330 defendant Payn Thomas husbandman 625712 625712 Payn, Thomas, of St Clere, husbandman 5
5015196 2361330 2361330 defendant Davy Mark husbandman 592971 592971 Davy, Mark, of Tallan, 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 14.17ms