home / cp40x

names

6 rows where case_id = 2394648

✎ 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
5127931 2394648 2394648 plaintiff Champernon Roger esq   Champernon, Roger, esq 0
5127932 2394648 2394648 defendant Ralegh Walter esq 619917 619917 Ralegh, Walter, of Ferdell, esq 0
5127933 2394648 2394648 defendant Lytelton Robert yeoman 619917 619917 Lytelton, Robert, of Ferdell, yeoman 1
5127934 2394648 2394648 defendant Lytelton Walter husbandman 849844 849844 Lytelton, Walter, of Alfeadweston, husbandman 2
5127935 2394648 2394648 defendant Steynlake John husbandman 771482 771482 with Steynlake, John, of Plympton Earls, husbandman 3
5127936 2394648 2394648 defendant Steynlake John yeoman 647717 647717 Steynlake, John, of Plimpton Earls, junior, 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 7.828ms