home / cp40x

names

7 rows where case_id = 2413501

✎ 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
5192359 2413501 2413501 plaintiff Nevyle Thomas knight   Nevyle, Thomas, knight 0
5192360 2413501 2413501 defendant Wynthorp Gilbert yeoman 591351 591351 Wynthorp, Gilbert, of Wynthorp, yeoman 0
5192361 2413501 2413501 defendant Saunder William husbandman 857923 857923 Saunder, William, of Burgh on the Marsh, husbandman 1
5192362 2413501 2413501 defendant Trewe William husbandman 603079 603079 Trewe, William, of Burgh in the Marsh, husbandman 2
5192363 2413501 2413501 defendant Halle Robert yeoman 603079 603079 Halle, Robert, of Burgh in the Marsh, yeoman 3
5192364 2413501 2413501 defendant Wryght John tailor 603079 603079 Wryght, John, of Burgh in the Marsh, tailor 4
5192365 2413501 2413501 defendant Kerre Thomas   857924 857924 Kerre, Thomas, of Ca 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 18.62ms