home / cp40x

names

6 rows where place_id = 797920

✎ 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
4758960 2283156 2283156 defendant Drewe Thomas esq 797920 797920 Drewe, Thomas, of Southcote, Berks, esq 1
4908983 2329355 2329355 defendant Perman Thomas husbandman 797920 797920 Perman, Thomas, of Southcote, Berks, husbandman 0
5259630 2433133 2433133 defendant Sambourn Walter gent 797920 797920 Sambourn, Walter, of Southcote, Berks, gent 1
5389661 2472106 2472106 defendant Sambourn Nicholas gent 797920 797920 Sambourn, Nicholas, of Southcote, Berks, gent 0
5402457 2475773 2475773 defendant Sambourn Nicholas gent 797920 797920 Sambourn, Nicholas, of Southcote, Berks, gent 0
5402462 2475774 2475774 defendant Sambourn Nicholas gent 797920 797920 Sambourn, Nicholas, of Southcote, Berks, gent 0

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