home / cp40x

names

6 rows where case_id = 2285697

✎ 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
4767097 2285697 2285697 plaintiff Lysle William     Lysle, William 0
4767098 2285697 2285697 defendant Spere John yeoman 761091 761091 Spere, John, of Midlyngton, yeoman 0
4767099 2285697 2285697 defendant Compton Richard   588135 588135 Compton, Richard, of Somerton, parson 1
4767100 2285697 2285697 defendant Shakill John gent 585970 585970 Shakill, John, of Oxford, gent 2
4767101 2285697 2285697 defendant Burton William yeoman 587336 587336 Burton, William, of Henley on Thames, yeoman 3
4767102 2285697 2285697 defendant Collyng Walter husbandman 592577 592577 Collyng, Walter, of Ascote, husbandman 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.46ms