home / cp40x

names

7 rows where case_id = 2509835

✎ 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
5515947 2509835 2509835 plaintiff Sporyour John     Sporyour, John 0
5515948 2509835 2509835 defendant Curtes William collier 587629 587629 Curtes, William, of Chesthunt, collier 0
5515949 2509835 2509835 defendant Lowen Peter brewer 587629 587629 Lowen, Peter, of Chesthunt, brewer 1
5515950 2509835 2509835 defendant Elyn or Glyn Andrew barber 648783 648783 Elyn or Glyn, Andrew, of Wormley, barber 2
5515951 2509835 2509835 defendant Bardell William husbandman 613197 613197 Bardell, William, of Bayford, husbandman 3
5515952 2509835 2509835 defendant Sutton John smith 801372 801372 Sutton, John, of Iclyngton, Cams, smith 4
5515953 2509835 2509835 defendant Fox Alexander collier 895435 895435 Fox, Alexander, of Erdyngton, Middx, collier 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 6.278ms