home / cp40x

names

7 rows where case_id = 2339691

✎ 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
4942710 2339691 2339691 plaintiff Fromond Thomas     Fromond, Thomas 0
4942711 2339691 2339691 defendant Fromond Gilbert husbandman 586446 586446 Fromond, Gilbert, of Hadlo, husbandman 0
4942712 2339691 2339691 defendant Hexstapill John butcher 586447 586447 Hexstapill, John, of West Mallyng, butcher 1
4942713 2339691 2339691 defendant Wellys John butcher 586447 586447 Wellys, John, of West Mallyng, butcher 2
4942714 2339691 2339691 defendant Sandherst Richard butcher 586446 586446 Sandherst, Richard, of Hadlo, butcher 3
4942715 2339691 2339691 defendant Briggys Richard butcher 586447 586447 Briggys, Richard, of West Mallyng, butcher 4
4942716 2339691 2339691 defendant Sprot Thomas butcher 586447 586447 Sprot, Thomas, of West Mallyng, butcher 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 11.998ms