home / cp40x

names

5 rows where place_id = 663731

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3970012 2014107 2014107 plaintiff Cullyer John yeoman 663731 663731 Cullyer, John, of Lestofte, Suff, yeoman 0
4117925 2066701 2066701 defendant Befelde Thomas merchant 663731 663731 Befelde, Thomas, of Lestofte, Suff, merchant 0
4136466 2073383 2073383 defendant Osborne Leonard merchant 663731 663731 Osborne, Leonard, of Lestofte, Suff, merchant 0
5118207 2391763 2391763 defendant Tessard John yeoman 663731 663731 Tessard, John, of Lestofte, Suff, yeoman 1
5360922 2463442 2463442 defendant Barnard John shipman 663731 663731 Barnard, John, of Lestofte, Suff, shipman 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 12.283ms