home / cp40x

names

8 rows where case_id = 2230660

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4598115 2230660 2230660 plaintiff Somer John draper 585869 585869 Somer, John, of London, draper 0
4598116 2230660 2230660 defendant Rodell Clement     Rodell, Clement 0
4598117 2230660 2230660 defendant Smyth Richard   773220 773220 Smyth, Richard, of Bungeye, Suffolk 1
4598118 2230660 2230660 defendant Dyne Henry   596318 596318 Dyne, Henry, of Mallyng, Kent 2
4598119 2230660 2230660 defendant Plentyf Peter     Plentyf, Peter 3
4598120 2230660 2230660 defendant Hudde Walter   773221 773221 Hudde, Walter, of Lydefeld, Sussex 4
4598121 2230660 2230660 defendant Kyng John   605288 605288 Kyng, John, of Maidstone 5
4598122 2230660 2230660 defendant Hatfeld John clerk   Hatfeld, John, clerk 6

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