home / cp40x

names

6 rows where case_id = 2422568

✎ 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
5223510 2422568 2422568 plaintiff Ostrych Thomas haberdasher 585869 585869 Ostrych, Thomas, of London, haberdasher 0
5223511 2422568 2422568 defendant Philip John chapman 861134 861134 Philip, John, of Bergevenne, March of Wales, chapman 0
5223512 2422568 2422568 defendant Trotte Bartholomew chapman 587862 587862 Trotte, Bartholomew, of Bodmyn, Cornw, chapman 1
5223513 2422568 2422568 defendant de Samsbury or de Sainsbury Peter haberdasher 585869 585869 de Samsbury or de Sainsbury, Peter, of London, haberdasher 2
5223514 2422568 2422568 defendant Chichele William spicer 586079 586079 Chichele, William, of Bedford, spicer 3
5223515 2422568 2422568 defendant Bassylden Thomas mercer 586079 586079 Bassylden, Thomas, of Bedford, mercer 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 8.826ms