home / cp40x

names

7 rows where case_id = 2451134

✎ 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
5320210 2451134 2451134 plaintiff Irlond John     Irlond, John 0
5320211 2451134 2451134 defendant Hengstrigge William gent 716847 716847 Hengstrigge, William, of Hengstrigge, gent 0
5320212 2451134 2451134 defendant Cotes Robert gent 872979 872979 Cotes, Robert, of Alrey, Wyvelescombe, gent 1
5320213 2451134 2451134 defendant Homer William gent 615017 615017 Homer, William, of South Barowe, gent 2
5320214 2451134 2451134 defendant Clerke Walter yeoman 595670 595670 Clerke, Walter, of Frome in Selwode, yeoman 3
5320215 2451134 2451134 defendant Talbot John, senior husbandman 872980 872980 Talbot, John, senior, of Budeley, husbandman 4
5320216 2451134 2451134 defendant Talbot John, junior husbandman 872980 872980 Talbot, John, junior, of Budeley, husbandman 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 14.848ms