home / cp40x

names

6 rows where place_id = 660697

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3957537 2009700 2009700 defendant Marler Thomas, junior yeoman 660697 660697 Marler, Thomas, junior, of Macclesfeld, Cheshire, yeoman 1
4266166 2118321 2118321 defendant Rowe Richard gent 660697 660697 Rowe, Richard, of Macclesfeld, Cheshire, gent 0
4266168 2118322 2118322 defendant Rowe Richard gent 660697 660697 Rowe, Richard, of Macclesfeld, Cheshire, gent 0
4341814 2144413 2144413 defendant Collier Robert husbandman 660697 660697 Collier, Robert, of Macclesfeld, Cheshire, husbandman 0
4706623 2267451 2267451 defendant Wryght Robert   660697 660697 Wryght, Robert, of Macclesfeld, Cheshire, groom 0
4769684 2286494 2286494 defendant Macclesfeld John gent 660697 660697 (Macclesfeld, John, of Macclesfeld, Cheshire, gent 1

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