home / cp40x

names

6 rows where case_id = 2435161

✎ 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
5266141 2435161 2435161 plaintiff Turnour Richard     Turnour, Richard 0
5266142 2435161 2435161 defendant Poyntell Richard husbandman 829487 829487 Poyntell, Richard, of Abrigge, husbandman 0
5266143 2435161 2435161 defendant Laxton Thomas yeoman 767978 767978 Laxton, Thomas, of Upmynstre, yeoman 1
5266144 2435161 2435161 defendant Poyntell John husbandman 829487 829487 Poyntell, John, of Abrigge, husbandman 2
5266145 2435161 2435161 defendant Smyth Richard husbandman 829487 829487 Smyth, Richard, of Abrigge, husbandman 3
5266146 2435161 2435161 defendant Scotte Thomas husbandman 590008 590008 Scotte, Thomas, of Rumford, husbandman 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 5.77ms