home / cp40x

names

6 rows where case_id = 2356506

✎ 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
4998719 2356506 2356506 plaintiff Knolles Thomas grocer 585869 585869 Knolles, Thomas, of London, grocer 0
4998720 2356506 2356506 defendant Smalcombe John weaver 585925 585925 Smalcombe, John, of Bristol, weaver 0
4998721 2356506 2356506 defendant Broun Geoffrey dyer 651783 651783 Broun, Geoffrey, of Trowbridge, Wilts, dyer 1
4998722 2356506 2356506 defendant Colchestre William fuller 604018 604018 Colchestre, William, of Colchester, Essex, fuller 2
4998723 2356506 2356506 defendant Reve John weaver 727277 727277 Reve, John, of Axebridge, Soms, weaver 3
4998724 2356506 2356506 defendant Morsy Thomas dyer 585925 585925 Morsy, Thomas, of Bristol, dyer 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 14.432ms