home / cp40x

names

5 rows where place_id = 629317

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3787522 1953887 1953887 defendant Tresculard Thomas gent 629317 629317 Tresculard, Thomas, of Luggan, gent 0
4011138 2028751 2028751 defendant Nancothan Henry husbandman 629317 629317 Nancothan, Henry, of Luggan, husbandman 2
4033121 2036495 2036495 defendant Trengowe John husbandman 629317 629317 Trengowe, John, of Luggan, husbandman 0
4033122 2036495 2036495 defendant Trear Robert husbandman 629317 629317 Trear, Robert, of Luggan, husbandman 1
4033123 2036495 2036495 defendant Warde Richard husbandman 629317 629317 Warde, Richard, of Luggan, husbandman 2

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