home / cp40x

names

7 rows where case_id = 2086054

✎ 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
4173118 2086054 2086054 plaintiff Dawney John knight   Dawney, John, knight 0
4173119 2086054 2086054 defendant Suckett Alan yeoman 592609 592609 Suckett, Alan, of Leverton, yeoman 0
4173120 2086054 2086054 defendant Stanes John yeoman 592609 592609 Stanes, John, of Leverton, yeoman 1
4173121 2086054 2086054 defendant Agarr Marmaduke yeoman 592609 592609 Agarr, Marmaduke, of Leverton, yeoman 2
4173122 2086054 2086054 defendant Toes Miles yeoman 592609 592609 Toes, Miles, of Leverton, yeoman 3
4173123 2086054 2086054 defendant Castell Francism of Leverton yeoman   Castell, Francism of Leverton, yeoman 4
4173124 2086054 2086054 defendant Marsigell Henry yeoman 592609 592609 Marsigell, Henry, of Leverton, yeoman 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 18.773ms