home / cp40x

names

6 rows where case_id = 2377475

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5069844 2377475 2377475 plaintiff Rous Reginald     Rous, Reginald 0
5069845 2377475 2377475 defendant Mower John, senior butcher 842737 842737 Mower, John, senior, of Parva Brysete, butcher 0
5069846 2377475 2377475 defendant Roger John butcher 842738 842738 Roger, John, of Nawrton, butcher 1
5069847 2377475 2377475 defendant Warde Thomas butcher 757631 757631 Warde, Thomas, of Elmesete, butcher 2
5069848 2377475 2377475 defendant Bedon John butcher 652800 652800 Bedon, John, of Glemham, butcher 3
5069849 2377475 2377475 defendant Pecot John yeoman 628283 628283 Pecot, John, of Marlesford, yeoman 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 15.809ms