home / cp40x

names

10 rows where case_id = 2454059

✎ 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
5330026 2454059 2454059 plaintiff Basset William esq   Basset, William, esq 0
5330027 2454059 2454059 defendant Philip Richard, junior husbandman 629371 629371 Philip, Richard, junior, of Teyne, husbandman 0
5330028 2454059 2454059 defendant Grene Thomas yeoman 629371 629371 Grene, Thomas, of Teyne, yeoman 1
5330029 2454059 2454059 defendant Myllyngton Roger husbandman 629371 629371 Myllyngton, Roger, of Teyne, husbandman 2
5330030 2454059 2454059 defendant Philip Thomas husbandman 629371 629371 Philip, Thomas, of Teyne, husbandman 3
5330031 2454059 2454059 defendant Philip John husbandman 629371 629371 Philip, John, of Teyne, husbandman 4
5330032 2454059 2454059 defendant Tayllour Nicholas husbandman 629371 629371 Tayllour, Nicholas, of Teyne, husbandman 5
5330033 2454059 2454059 defendant Taillour Richard husbandman 629371 629371 Taillour, Richard, of Teyne, husbandman 6
5330034 2454059 2454059 defendant Boryng Richard husbandman 629371 629371 Boryng, Richard, of Teyne, husbandman 7
5330035 2454059 2454059 defendant Walle John husbandman 595192 595192 Walle, John, of Lee, husbandman 8

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.341ms