home / cp40x

names

7 rows where case_id = 2422290

✎ 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
5222481 2422290 2422290 plaintiff Michell William executoir of   Michell, William, executoir of 0
5222482 2422290 2422290 plaintiff Michell Richard     Michell, Richard 1
5222483 2422290 2422290 defendant More John husbandman 764038 764038 More, John, of Foulemere, husbandman 0
5222484 2422290 2422290 defendant Rumbald Nicholas ostler 825871 825871 Rumbald, Nicholas, of Baburgham, ostler 1
5222485 2422290 2422290 defendant Gardener John ostler 794724 794724 Gardener, John, of Foulemer, ostler 2
5222486 2422290 2422290 defendant Reyner John husbandman 606637 606637 Reyner, John, of Foxston, husbandman 3
5222487 2422290 2422290 defendant Amys Robert husbandman 606637 606637 Amys, Robert, of Foxston, husbandman 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.639ms