home / cp40x

names

7 rows where place_id = 602202

✎ 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
3648940 1910057 1910057 defendant Mercer Roland yeoman 602202 602202 (Mercer, Roland, of Scalford, Leics, yeoman 1
3648943 1910058 1910058 defendant Mercer Roland yeoman 602202 602202 (Mercer, Roland, of Scalford, Leics, yeoman 1
3817353 1963337 1963337 defendant Agard Thomas merchant of the staple 602202 602202 Agard, Thomas, of Scalford, Leics, merchant of the staple 0
4311363 2134118 2134118 defendant Segrave Ralph yeoman 602202 602202 Segrave, Ralph, of Scalford, Leics, yeoman 3
4319845 2137048 2137048 defendant Stagrave Charles gent 602202 602202 Stagrave, Charles, of Scalford, Leics, gent 1
4881738 2321185 2321185 defendant Segrave Thomas gent 602202 602202 Segrave, Thomas, of Scalford, Leics, gent 4
5570803 2526022 2526022 defendant Sygrave Ralph gent 602202 602202 Sygrave, Ralph, of Scalford, Leics, gent 2

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