home / cp40x

names

9 rows where case_id = 2464151

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5363217 2464151 2464151 plaintiff Welby Richard esq   Welby, Richard, esq 0
5363218 2464151 2464151 plaintiff Welby Thomas     Welby, Thomas 1
5363219 2464151 2464151 plaintiff Albon Edmund clerk   Albon, Edmund, clerk 2
5363220 2464151 2464151 plaintiff Male John     Male, John 3
5363221 2464151 2464151 defendant Hunston Thomas gent 588244 588244 Hunston, Thomas, of Tidde St Mary, gent 0
5363222 2464151 2464151 defendant Man Michael tailor 587058 587058 Man, Michael, of Sutton, tailor 1
5363223 2464151 2464151 defendant Brodyng Clement webster 587058 587058 Brodyng, Clement, of Sutton, webster 2
5363224 2464151 2464151 defendant Fysshe Maurice laborer 587058 587058 Fysshe, Maurice, of Sutton, laborer 3
5363225 2464151 2464151 defendant Hagvych Thomas glover 587058 587058 Hagvych, Thomas, of Sutton, glover 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 15.004ms