home / cp40x

names

7 rows where place_id = 604521

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3658290 1912848 1912848 defendant Cage Henry husbandman 604521 604521 Cage, Henry, of Ratylsden, husbandman 0
3779400 1951279 1951279 plaintiff Egyll Edward clothier 604521 604521 Egyll, Edward, of Ratylsden, clothier 0
3898479 1989704 1989704 defendant Patell Thomas husbandman 604521 604521 Patell, Thomas, of Ratylsden, husbandman 0
3898480 1989704 1989704 defendant Patell Richard husbandman 604521 604521 Patell, Richard, of Ratylsden, husbandman 1
3898481 1989704 1989704 defendant Patell Robert husbandman 604521 604521 Patell, Robert, of Ratylsden, husbandman 2
3951320 2007528 2007528 plaintiff Grome George clothier 604521 604521 Grome, George, of Ratylsden, clothier 0
5583995 2530066 2530066 defendant Waren Robert butcher 604521 604521 Waren, Robert, of Ratylsden, butcher 3

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