home / cp40x

names

7 rows where case_id = 2487612

✎ 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
5442276 2487612 2487612 plaintiff Beaumount Thomas     Beaumount, Thomas 0
5442277 2487612 2487612 defendant Charde Robert yeoman 797412 797412 Charde, Robert, of Shirwyll, yeoman 0
5442278 2487612 2487612 defendant Bell John clerk 594372 594372 Bell, John, of Parkeham, clerk 1
5442279 2487612 2487612 defendant Calle John yeoman 797412 797412 Calle, John, of Shirwyll, yeoman 2
5442280 2487612 2487612 defendant Brewys William yeoman 797412 797412 Brewys, William, of Shirwyll, yeoman 3
5442281 2487612 2487612 defendant Wyrehall Edmund yeoman 592634 592634 Wyrehall, Edmund, of Chetelhampton, yeoman 4
5442282 2487612 2487612 defendant Mannyng Roger yeoman 586274 586274 Mannyng, Roger, of Barnestaple, yeoman 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 11.565ms