home / cp40x

names

6 rows where case_id = 2422569

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5223516 2422569 2422569 plaintiff Ostrych Thomas haberdasher 585869 585869 Ostrych, Thomas, of London, haberdasher 0
5223517 2422569 2422569 defendant Squyer John chapman 586901 586901 Squyer, John, of Nottingham, chapman 0
5223518 2422569 2422569 defendant Cutteller John chapman 585951 585951 Cutteller, John, of Winchester, chapman 1
5223519 2422569 2422569 defendant Palmer Thomas girdler 586067 586067 Palmer, Thomas, of York, girdler 2
5223520 2422569 2422569 defendant Swynne Thomas chapman 830730 830730 Swynne, Thomas, of Tawenton, Soms, chapman 3
5223521 2422569 2422569 defendant Asshewell alias Spycer Thomas spicer or chapman 780104 780104 Asshewell alias Spycer, Thomas, of Bannebury, Oxon, spicer or chapman 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 7.768ms