home / cp40x

names

6 rows where case_id = 2496209

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5470844 2496209 2496209 plaintiff Gryme William grocer   Gryme, William, grocer 0
5470845 2496209 2496209 defendant Gardener Thomas miller 604434 604434 Gardener, Thomas, of Littlebourne, miller 0
5470846 2496209 2496209 defendant Bound John husbandman 604434 604434 Bound, John, of Littlebourne, husbandman 1
5470847 2496209 2496209 defendant Court Thomas   586175 586175 Court, Thomas, of Canterbury 2
5470848 2496209 2496209 defendant Beer Thomas laborer 600587 600587 Beer, Thomas, of Petham, laborer 3
5470849 2496209 2496209 defendant Elsted John husbandman 595778 595778 Elsted, John, of Boughton under Blean, husbandman 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.899ms