home / cp40x

names

6 rows where place_id = 774379

✎ 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
4611230 2234575 2234575 defendant Labso William   774379 774379 Labso, William, of C_ 0
4764732 2284956 2284956 defendant Crukern John gent 774379 774379 Crukern, John, of C_, gent 0
4844892 2309922 2309922 defendant Cok John thatcher 774379 774379 Cok, John, of C_, thatcher 0
5434720 2485319 2485319 plaintiff Parye William gent 774379 774379 Parye, William, of C_, gent 0
5443493 2487963 2487963 defendant Dykon Thomas husbandman 774379 774379 Dykon, Thomas, of C_, husbandman 0
5443668 2488027 2488027 defendant Hunt William merchant 774379 774379 Hunt, William, of C_, merchant 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.234ms