home / cp40x

names

6 rows where place_id = 773378

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4599823 2231172 2231172 defendant Cotell Robert   773378 773378 Cotell, Robert, of Asserton 2
4706921 2267544 2267544 defendant Parker Edmund farmer 773378 773378 Parker, Edmund, of Asserton, farmer 2
4756256 2282326 2282326 defendant Jamys Richard husbandman 773378 773378 Jamys, Richard, of Asserton, husbandman 0
5053069 2372515 2372515 defendant Barley William husbandman 773378 773378 Barley, William, of Asserton, husbandman 5
5065764 2376283 2376283 defendant Gilberd William husbandman 773378 773378 Gilberd, William, of Asserton, husbandman 1
5065769 2376284 2376284 defendant Gilberd William husbandman 773378 773378 Gilberd, William, of Asserton, husbandman 1

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