home / cp40x

names

9 rows where case_id = 2551781

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5625077 2551781 2551781 plaintiff Louthe Roger     Louthe, Roger 0
5625078 2551781 2551781 defendant Faryngdon John yeoman 607051 607051 Faryngdon, John, of Wodwalton, yeoman 0
5625079 2551781 2551781 defendant Newman Richard husbandman 802791 802791 Newman, Richard, of Magna Ravele, husbandman 1
5625080 2551781 2551781 defendant Rede John parson of Sautre All Saints   Rede, John, parson of Sautre All Saints 2
5625081 2551781 2551781 defendant Rolf Thomas husbandman 802791 802791 Rolf, Thomas, of Magna Ravele, husbandman 3
5625082 2551781 2551781 defendant Raulins Robert husbandman 802791 802791 Raulins, Robert, of Magna Ravele, husbandman 4
5625083 2551781 2551781 defendant Aubes William husbandman 802791 802791 Aubes, William, of Magna Ravele, husbandman 5
5625084 2551781 2551781 defendant Fox John, junior husbandman 802791 802791 Fox, John, junior, of Magna Ravele, husbandman 6
5625085 2551781 2551781 defendant Wallere John clerk   Wallere, John, clerk 7

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