home / cp40x

names

6 rows where case_id = 2525383

✎ 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
5568653 2525383 2525383 plaintiff Frost William     Frost, William 0
5568654 2525383 2525383 defendant Boyn Mathew husbandman 782756 782756 Boyn, Mathew, of Aykton, husbandman 0
5568655 2525383 2525383 defendant Anton John yeoman 633016 633016 Anton, John, of Hougton, yeoman 1
5568656 2525383 2525383 defendant Philip John yeoman 876276 876276 Philip, John, of Thornton, Bradfordale, yeoman 2
5568657 2525383 2525383 defendant Webster John yeoman 586349 586349 Webster, John, of Bradford, yeoman 3
5568658 2525383 2525383 defendant Smyth Elias yeoman 590225 590225 Smyth, Elias, of Hodersfeld, yeoman 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.694ms