home / cp40x

names

7 rows where case_id = 2450420

✎ 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
5317823 2450420 2450420 plaintiff Frankysshe Robert     Frankysshe, Robert 0
5317824 2450420 2450420 plaintiff Rede Christopher     Rede, Christopher 1
5317825 2450420 2450420 defendant Sawenby John husbandman 596753 596753 Sawenby, John, of Dunston, Lincs, husbandman 0
5317826 2450420 2450420 defendant Torkar or Torkard William gent or clerk 586846 586846 Torkar or Torkard, William, of Lincoln, gent or clerk 1
5317827 2450420 2450420 defendant Barker John husbandman 615242 615242 Barker, John, of Skynnand, Lincs, husbandman 2
5317828 2450420 2450420 defendant Peny John cooper 586846 586846 Peny, John, of Lincoln, cooper 3
5317829 2450420 2450420 defendant Coulton Joan widow 586846 586846 Coulton, Joan, of Lincoln, widow 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.832ms