home / cp40x

names

6 rows where case_id = 2322200

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4884973 2322200 2322200 plaintiff Broom John   660628 660628 Broom, John, of Meryet 0
4884974 2322200 2322200 defendant Langebrouk Thomas butcher 595806 595806 Langebrouk, Thomas, of Kyngesbury, butcher 0
4884975 2322200 2322200 defendant Ford William husbandman 586459 586459 Ford, William, of Stoke, husbandman 1
4884976 2322200 2322200 defendant Oke Roger butcher 674488 674488 Oke, Roger, of Wyncaulton, butcher 2
4884977 2322200 2322200 defendant Baker John baker 804550 804550 Baker, John, of Axmystre, Devon, baker 3
4884978 2322200 2322200 defendant Chapman John chapman 624220 624220 Chapman, John, of Crukern, chapman 4

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