home / cp40x

names

7 rows where case_id = 2255555

✎ 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
4667493 2255555 2255555 plaintiff atte Ker William   590846 590846 atte Ker, William, of Shipdam 0
4667494 2255555 2255555 defendant Norman Richard yeoman 590846 590846 Norman, Richard, of Shipdam, yeoman 0
4667495 2255555 2255555 defendant Hendry Johnof Shipdam yeoman   Hendry, Johnof Shipdam, yeoman 1
4667496 2255555 2255555 defendant Somerlot William yeoman 590846 590846 Somerlot, William, of Shipdam, yeoman 2
4667497 2255555 2255555 defendant Norman Simon clerk 598060 598060 Norman, Simon, of Westfeld, clerk 3
4667498 2255555 2255555 defendant Coltyng of Shipdam husbandman   Coltyng, of Shipdam, husbandman 4
4667499 2255555 2255555 defendant Parker William parker 590846 590846 Parker, William, of Shipdam, parker 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 13.511ms