home / cp40x

names

7 rows where case_id = 2486388

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5438298 2486388 2486388 plaintiff Symmys John     Symmys, John 0
5438299 2486388 2486388 defendant Brogrove William draper 585869 585869 Brogrove, William, of London, draper 0
5438300 2486388 2486388 defendant Brogrove William jun, of London, draper   Brogrove, William, jun, of London, draper 1
5438301 2486388 2486388 defendant Grave John laborer 605662 605662 Grave, John, of Bromleygh, laborer 2
5438302 2486388 2486388 defendant Wodeman Edmund laborer 588487 588487 Wodeman, Edmund, of Bekenham, laborer 3
5438303 2486388 2486388 defendant Mere William laborer 588487 588487 Mere, William, of Bekenham, laborer 4
5438304 2486388 2486388 defendant Forster Thomas laborer 588487 588487 Forster, Thomas, of Bekenham, laborer 5

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