home / cp40x

names

6 rows where place_id = 689780

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4081961 2053847 2053847 defendant Lee George clothier 689780 689780 Lee, George, of Wakefeilde, Yorks, clothier 3
4166197 2083680 2083680 defendant Warde John chapman 689780 689780 Warde, John, of Wakefeilde, Yorks, chapman 0
4213199 2100136 2100136 defendant Higgens John dyer 689780 689780 Higgens, John, of Wakefeilde, Yorks, dyer 0
4258609 2115843 2115843 defendant Walker William clothier 689780 689780 Walker, William, of Wakefeilde, Yorks, clothier 0
4301774 2130745 2130745 defendant Warde Mathew chapman 689780 689780 Warde, Mathew, of Wakefeilde, Yorks, chapman 0
4307899 2132904 2132904 defendant Robert John yeoman 689780 689780 Robert, John, of Wakefeilde, Yorks, yeoman 0

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 19.426ms