home / cp40x

names

5 rows where case_id = 2458049

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5343151 2458049 2458049 plaintiff Snale John     Snale, John 0
5343152 2458049 2458049 defendant Croke Thomas, junior yeoman 618125 618125 Croke, Thomas, junior, of Magna Stanmer, yeoman 0
5343153 2458049 2458049 defendant Welder Thomas mealman 600161 600161 Welder, Thomas, of Southall, mealman 1
5343154 2458049 2458049 defendant Symond John yeoman 859842 859842 Symond, John, of Old Braynford, yeoman 2
5343155 2458049 2458049 defendant Ponde John fisher 859842 859842 Ponde, John, of Old Braynford, fisher 3

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.037ms