home / cp40x

names

6 rows where place_id = 787844

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4704801 2266880 2266880 defendant Pygas William clerk 787844 787844 Pygas, William, of Brandon Ferry, Suffolk, clerk 0
4704806 2266881 2266881 defendant Pygas William clerk 787844 787844 Pygas, William, of Brandon Ferry, Suffolk, clerk 0
5010503 2359949 2359949 defendant Edward William   787844 787844 Edward, William, of Brandon Ferry, Suffolk, wool chapman 0
5179457 2409726 2409726 defendant Lewes John yeoman 787844 787844 Lewes, John, of Brandon Ferry, Suffolk, yeoman 1
5201891 2416318 2416318 defendant Elyngham John husbandman 787844 787844 Elyngham, John, of Brandon Ferry, Suffolk, husbandman 0
5303014 2445892 2445892 defendant Elyngham John husbandman 787844 787844 Elyngham, John, of Brandon Ferry, Suffolk, husbandman 0

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 18.419ms