|
| 1 | +# Sector Categories and Regional Stories |
| 2 | + |
| 3 | +Reference material for topic discovery scoring. |
| 4 | + |
| 5 | +## Sector Categories |
| 6 | + |
| 7 | +For diversity scoring, tables are categorized: |
| 8 | + |
| 9 | +| Sector | Example Tables | Notes | |
| 10 | +|--------|----------------|-------| |
| 11 | +| **Prices** | 18-10-0004 (CPI), 18-10-0001 (Gas), 18-10-0205 (NHPI) | High public interest | |
| 12 | +| **Labour** | 14-10-0287 (LFS), 14-10-0355 (SEPH) | Core economic indicator | |
| 13 | +| **Trade** | 20-10-0056 (Retail), 20-10-0003 (Wholesale), 12-10-0011 (Intl) | Supply chain coverage | |
| 14 | +| **Housing** | 34-10-0158 (Starts), 34-10-0292 (Permits) | Housing market health | |
| 15 | +| **Production** | 36-10-0434 (GDP), 16-10-0048 (Manufacturing) | Output indicators | |
| 16 | +| **Transport** | 23-10-0079 (Aviation), 23-10-0253 (Rail) | Mobility/logistics | |
| 17 | +| **Finance** | 10-10-0006 (Credit), 36-10-0580 (Investment) | Financial conditions | |
| 18 | +| **Demographics** | 17-10-0009 (Population), 17-10-0014 (Migration) | Social indicators | |
| 19 | +| **Energy** | 25-10-0015 (Electricity), 25-10-0063 (Oil & Gas) | Resource production | |
| 20 | + |
| 21 | +## Narrative Potential Indicators |
| 22 | + |
| 23 | +High-scoring narratives typically have: |
| 24 | + |
| 25 | +- **Trend reversals**: "First increase since...", "Ended X-month streak" |
| 26 | +- **Regional divergence**: Provinces moving in opposite directions |
| 27 | +- **Component splits**: House vs. land, goods vs. services, domestic vs. international |
| 28 | +- **Milestone crossings**: Index hits new high/low, crosses round number |
| 29 | +- **Seasonal anomalies**: Unexpected pattern vs. typical seasonality |
| 30 | + |
| 31 | +## Geographic Levels in CANSIM |
| 32 | + |
| 33 | +| Level | Description | Story Potential | |
| 34 | +|-------|-------------|-----------------| |
| 35 | +| **Canada** | National totals | Headline indicators | |
| 36 | +| **Provincial/Territorial** | 13 jurisdictions | Regional divergence, provincial spotlight | |
| 37 | +| **CMA** | Census Metropolitan Areas | City comparisons, metro-specific trends | |
| 38 | +| **Economic Region** | Sub-provincial regions | Local economic conditions | |
| 39 | + |
| 40 | +## Regional Story Types |
| 41 | + |
| 42 | +### 1. Divergence Stories |
| 43 | +When regions move in opposite directions: |
| 44 | +```r |
| 45 | +provincial_data %>% |
| 46 | + group_by(REF_DATE) %>% |
| 47 | + summarise( |
| 48 | + range = max(yoy_change) - min(yoy_change), |
| 49 | + leader = GEO[which.max(yoy_change)], |
| 50 | + laggard = GEO[which.min(yoy_change)] |
| 51 | + ) %>% |
| 52 | + filter(range > 5) # >5 percentage points spread |
| 53 | +``` |
| 54 | + |
| 55 | +### 2. Metro Spotlight |
| 56 | +Deep-dive on a specific CMA: |
| 57 | +- Toronto housing market dynamics |
| 58 | +- Vancouver cost of living |
| 59 | +- Calgary energy sector employment |
| 60 | +- Montreal manufacturing |
| 61 | + |
| 62 | +### 3. Provincial Rankings |
| 63 | +League tables comparing provinces: |
| 64 | +- Unemployment rates by province |
| 65 | +- Housing affordability index |
| 66 | +- Retail sales per capita |
| 67 | + |
| 68 | +### 4. Regional Outliers |
| 69 | +One region bucking the national trend: |
| 70 | +- "Saskatchewan leads provincial gains..." |
| 71 | +- "Atlantic Canada bucks national decline..." |
| 72 | + |
| 73 | +## Regional Story Scoring |
| 74 | + |
| 75 | +| Factor | Score Boost | Condition | |
| 76 | +|--------|-------------|-----------| |
| 77 | +| High provincial variance | +15 | Range > 5 pp | |
| 78 | +| Clear leader/laggard | +10 | One province dominates | |
| 79 | +| CMA data available | +5 | Metro-level granularity | |
| 80 | +| Regional trend reversal | +20 | Province bucks national trend | |
| 81 | + |
| 82 | +## Checking Geographic Coverage |
| 83 | + |
| 84 | +```r |
| 85 | +check_geo_coverage <- function(table_number) { |
| 86 | + df <- get_cansim(table_number) |
| 87 | + geos <- unique(df$GEO) |
| 88 | + |
| 89 | + list( |
| 90 | + has_provinces = any(geos %in% c("Ontario", "Quebec", "British Columbia")), |
| 91 | + has_cmas = any(grepl("CMA|Toronto|Vancouver|Montreal", geos)), |
| 92 | + geo_count = length(geos), |
| 93 | + geo_list = head(geos, 10) |
| 94 | + ) |
| 95 | +} |
| 96 | +``` |
| 97 | + |
| 98 | +## Example Regional Headlines |
| 99 | + |
| 100 | +- "Toronto housing starts surge while Vancouver stalls" |
| 101 | +- "Prairie provinces lead employment gains in November" |
| 102 | +- "Quebec inflation outpaces national average for 6th month" |
| 103 | +- "Atlantic Canada gasoline prices hit 18-month low" |
0 commit comments