home / cp40x

names

6 rows where case_id = 2355087

✎ 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
4994029 2355087 2355087 plaintiff Fagger William     Fagger, William 0
4994030 2355087 2355087 defendant Long John husbandman 592527 592527 Long, John, of Stenyng, husbandman 0
4994031 2355087 2355087 defendant Wolfynm John husbandman 615788 615788 Wolfynm, John, of Fytelworth, husbandman 1
4994032 2355087 2355087 defendant Due John husbandman 785995 785995 Due, John, of Westgrensted, husbandman 2
4994033 2355087 2355087 defendant Strye William   585869 585869 Strye, William, of London, mason 3
4994034 2355087 2355087 defendant Magge William husbandman 758093 758093 Magge, William, of Bradewater, 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 13.783ms