home / cp40x

names

7 rows where case_id = 2367783

✎ 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
5037303 2367783 2367783 plaintiff White Thomas     White, Thomas 0
5037304 2367783 2367783 defendant Scras John husbandman 641482 641482 Scras, John, of Wyghtden, husbandman 0
5037305 2367783 2367783 defendant Gatyer John husbandman 785899 785899 Gatyer, John, of Chagelegh, husbandman 1
5037306 2367783 2367783 defendant Moys Lawrence husbandman 785899 785899 Moys, Lawrence, of Chagelegh, husbandman 2
5037307 2367783 2367783 defendant Langeregge Thomas husbandman 785899 785899 Langeregge, Thomas, of Chagelegh, husbandman 3
5037308 2367783 2367783 defendant Payn Thomas wheeler 621884 621884 Payn, Thomas, of Lyndefeld, wheeler 4
5037309 2367783 2367783 defendant Pekeden Richard laborer 621884 621884 Pekeden, Richard, of Lyndefeld, laborer 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.641ms