home / cp40x

names

6 rows where place_id = 831669

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4991330 2354290 2354290 defendant Rogger John butcher 831669 831669 Rogger, John, of Welysham, butcher 0
4991332 2354290 2354290 defendant Mower John butcher 831669 831669 Mower, John, of Welysham, butcher 2
5129685 2395170 2395170 defendant Skilfull John   831669 831669 Skilfull, John, of Welysham 1
5159286 2403830 2403830 defendant Skilful John yeoman 831669 831669 Skilful, John, of Welysham, yeoman 1
5174479 2408236 2408236 defendant Skilful John yeoman 831669 831669 Skilful, John, of Welysham, yeoman 1
5195185 2414335 2414335 defendant Skilful John yeoman 831669 831669 Skilful, John, of Welysham, 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 5.999ms