home / cp40x

names

6 rows where case_id = 2476548

✎ 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
5405124 2476548 2476548 plaintiff Rokeley William     Rokeley, William 0
5405125 2476548 2476548 defendant Bowdeon Ralph yeoman 593557 593557 Bowdeon, Ralph, of Heywod, yeoman 0
5405126 2476548 2476548 defendant Skrevyn John yeoman 590152 590152 Skrevyn, John, of Clyfton, yeoman 1
5405127 2476548 2476548 defendant Cause John yeoman 590152 590152 Cause, John, of Clyfton, yeoman 2
5405128 2476548 2476548 defendant Magge William yeoman 587826 587826 Magge, William, of Lychefeld, yeoman 3
5405129 2476548 2476548 defendant Madurer Margaret single woman 588037 588037 Madurer, Margaret, of Lichefeld, single woman 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 15.403ms