home / cp40x

names

7 rows where case_id = 2456063

✎ 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
5336764 2456063 2456063 plaintiff Henberwe Richard     Henberwe, Richard 0
5336765 2456063 2456063 defendant Berowe Walter yeoman 623001 623001 Berowe, Walter, of Gatcombe, yeoman 0
5336766 2456063 2456063 defendant Milward Thomas husbandman 815507 815507 Milward, Thomas, of Etlowe, husbandman 1
5336767 2456063 2456063 defendant Whyte Thomas yeoman 815507 815507 Whyte, Thomas, of Etlowe, yeoman 2
5336768 2456063 2456063 defendant Heggys John husbandman 587182 587182 Heggys, John, of Blakeney, husbandman 3
5336769 2456063 2456063 defendant Trepet Thomas husbandman 588884 588884 Trepet, Thomas, of Aure, husbandman 4
5336770 2456063 2456063 defendant Trepet Robert husbandman 588884 588884 Trepet, Robert, of Aure, 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 16.536ms