home / cp40x

names

6 rows where place_id = 767032

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4534741 2211146 2211146 defendant Barbour John   767032 767032 Barbour, John, of Swathesey 0
5148988 2400831 2400831 defendant Keneheved William husbandman 767032 767032 Keneheved, William, of Swathesey, husbandman 0
5261296 2433642 2433642 defendant Mathewe John husbandman 767032 767032 Mathewe, John, of Swathesey, husbandman 3
5281552 2439671 2439671 defendant Gill Nicholas husbandman 767032 767032 Gill, Nicholas, of Swathesey, husbandman 0
5281554 2439671 2439671 defendant Baret John butcher 767032 767032 Baret, John, of Swathesey, butcher 2
5281564 2439673 2439673 defendant Madde John husbandman 767032 767032 Madde, John, of Swathesey, 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 14.758ms