home / cp40x

names

6 rows where case_id = 2441909

✎ 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
5289426 2441909 2441909 plaintiff Mathew John   585869 585869 Mathew, John, of London, linen draper 0
5289427 2441909 2441909 defendant Boty William chapman 592390 592390 Boty, William, of Dysse, Norf, chapman 0
5289428 2441909 2441909 defendant Barewe William clothmaker 602902 602902 Barewe, William, of Bedynden, Kent, clothmaker 1
5289429 2441909 2441909 defendant Reede Richard or Redyng, Berks, chapman   Reede, Richard, or Redyng, Berks, chapman 2
5289430 2441909 2441909 defendant Sayer William husbandman 869112 869112 Sayer, William, of Pagam, Sussex, husbandman 3
5289431 2441909 2441909 defendant Mounke John, senior husbandman 587686 587686 Mounke, John, senior, of Stortford, Herts, husbandman 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 13.594ms