home / cp40x

names

7 rows where case_id = 2304693

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4827635 2304693 2304693 plaintiff Yarum William merchant 586067 586067 Yarum, William, of York, merchant 0
4827636 2304693 2304693 defendant S-idenard Nicholas goldsmith 586067 586067 S-idenard, Nicholas, of York, goldsmith 0
4827637 2304693 2304693 defendant Barras John embroiderer 586067 586067 Barras, John, of York, embroiderer 1
4827638 2304693 2304693 defendant Bradfeld Robert swerdsliper or sword maker or sharpener 586067 586067 Bradfeld, Robert, of York, swerdsliper or sword maker or sharpener 2
4827639 2304693 2304693 defendant Knyght John smith 586067 586067 Knyght, John, of York, smith 3
4827640 2304693 2304693 defendant Smyth William chapman 586067 586067 Smyth, William, of York, chapman 4
4827641 2304693 2304693 defendant Dalton John skinner 808699 808699 Dalton, John, of Yrok, skinner 5

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 15.111ms