PE — province. Postal district C.
Prince Edward Island is Canada’s smallest province by area and population, which makes it the best region for testing what your code does when a dataset is genuinely small.
A worked PE postal code: C1E 4T1.
Felix Rasmussen 1825 Wellington Crescent SE Charlottetown PE C1E 4T1 Canada
FELIX RASMUSSEN 1825 WELLINGTON CRES SE CHARLOTTETOWN PE C1E 4T1 CANADA
C covers all of Prince Edward Island, and the 2021 Census records just seven forward sortation areas across the entire province: C0A, C0B, C1A, C1B, C1C, C1E and C1N. The province is compact enough that the district letter, the province and the general locality are effectively the same piece of information, which is unusual — in most provinces those are three separate facts. It also makes PE a good region for a test that needs to enumerate every FSA it might see.
Along with the territories, Prince Edward Island is a common omission from hand-maintained province lists, usually because it is small enough to overlook. Generating a PE record is a fast check that your list is complete rather than a list of the provinces someone remembered.
Analytics, clustering, percentile calculations and anything that divides by a group size behave differently when a group is small. Prince Edward Island is the real-world small group in Canadian data, and code that only ever sees Ontario-sized groups may divide by zero or produce a meaningless percentage here.
PE is the ISO code; PEI is the common abbreviation and appears constantly in prose and in user input. Code that accepts only one of them rejects legitimate input, and code that accepts "PEI" as a two-letter code produces a silent mismatch.
Every Prince Edward Island postal code begins with C. The province is small enough that a single district letter covers all of it.
PE is the two-letter ISO subdivision code and is what this generator produces. PEI is the common abbreviation in everyday writing but is not the code, and accepting it as one causes silent mismatches.
Charlottetown, the capital, and Summerside.
Every record is synthetic, generated for development, QA, testing, demos and staging. These records do not represent real people, and the addresses are not verified deliverable addresses.