home / cp40x

names

5 rows where case_id = 2504940

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename

id ▼ case_id role surname forename occupation place_id raw_segment seq
5499955 2504940 2504940 defendant Freston John yeoman 586548 586548 Freston, John, of Alcetur, Warks, yeoman 0
5499956 2504940 2504940 defendant Burby John yeoman 893771 893771 Burby, John, of St Nicholas Oloff, Quenehyve, yeoman 1
5499957 2504940 2504940 defendant Page John yeoman 893772 893772 Page, John, of At Agnes, Algate, London, yeoman 2
5499958 2504940 2504940 defendant Dolfyn Richard yeoman 893773 893773 Dolfyn, Richard, of Elman, Suff, yeoman 3
5499959 2504940 2504940 defendant Walford Hugh yeoman 661007 661007 Walford, Hugh, of Wolverdyngton, Warks, 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 12.213ms