home / cp40x

names

8 rows where place_id = 633101

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3810725 1961256 1961256 defendant Clerk John husbandman 633101 633101 Clerk, John, of Basilden, husbandman 0
3810726 1961256 1961256 defendant Clerk William laborer 633101 633101 Clerk, William, of Basilden, laborer 1
3810727 1961256 1961256 defendant Clerke Thomas laborer 633101 633101 Clerke, Thomas, of Basilden, laborer 2
3810728 1961256 1961256 defendant White John laborer 633101 633101 White, John, of Basilden, laborer 3
3810729 1961256 1961256 defendant Benett John laborer 633101 633101 Benett, John, of Basilden, laborer 4
3810730 1961256 1961256 defendant Barett William laborer 633101 633101 Barett, William, of Basilden, laborer 5
4712316 2269166 2269166 defendant Dunt John husbandman 633101 633101 Dunt, John, of Basilden, husbandman 0
4783224 2290770 2290770 defendant Dunt John   633101 633101 Dunt, John, of Basilden, franklin 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 17.212ms