home / cp40x

names

5 rows where place_id = 627387

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3775915 1950218 1950218 defendant Bunnyng Thomas husbandman 627387 627387 Bunnyng, Thomas, of Hardewyk juxta Shelton, husbandman 0
3775916 1950218 1950218 defendant Bunnyng Robert husbandman 627387 627387 Bunnyng, Robert, of Hardewyk juxta Shelton, husbandman 1
5080269 2380588 2380588 defendant Lely William carpenter 627387 627387 Lely, William, of Hardewyk juxta Shelton, carpenter 0
5089645 2383345 2383345 defendant Benet John husbandman 627387 627387 Benet, John, of Hardewyk juxta Shelton, husbandman 4
5348643 2459707 2459707 plaintiff Broun Thomas   627387 627387 Broun, Thomas, of Hardewyk juxta Shelton 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 19.338ms