home / cp40x

names

6 rows where case_id = 2280843

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4751252 2280843 2280843 plaintiff Serle Richard     Serle, Richard, on his own account 0
4751253 2280843 2280843 defendant Walsham Nicholas husbandman 762244 762244 Walsham, Nicholas, of Compton Durvyle, husbandman 0
4751254 2280843 2280843 defendant Riggebrace Richard husbandman 762244 762244 Riggebrace, Richard, of Compton Durvyle, husbandman 1
4751255 2280843 2280843 defendant Rawe John husbandman 762244 762244 Rawe, John, of Compton Durvyle, husbandman 2
4751256 2280843 2280843 defendant Colberd John husbandman 762244 762244 Colberd, John, of Compton Durvyle, husbandman 3
4751257 2280843 2280843 defendant Brewer Peter   796478 796478 Brewer, Peter, of Shepton Beauchamp, cowherd 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 11.302ms