| Weights for later months frozen at an earlier month's value | aggregate_freeze_weights_after |
| Weighted group indices for blocks of countries you define | aggregate_index |
| Turn annual, quarterly or monthly GDP into one value per country-month | aggregate_monthly_gdp |
| Yield one small table per (country, year-month folder) | articles_for_each_batch |
| Build an EPU-type index from a scraped-article archive in one call | build_index |
| Global country reference table | countries |
| Terms of one group for a country entry | country_dictionary_terms |
| Which (country, year-month) combinations have article files | coverage |
| Build a self-contained HTML dashboard for an index result | dashboard_build |
| Write a self-contained HTML dashboard | dashboard_write |
| The duplicate key of one article | dedup_article_key |
| Normalize a URL for deduplication ('rules = "legacy"') | dedup_canonical_url |
| The CAPE EPU index's link key ('rules = "cape"') | dedup_cape_canonical_url |
| Drop duplicate articles within each group | dedup_dedupe |
| Per-country min/max/mean/std, plus the biggest month-over-month move | describe_index |
| Which countries have an archive folder, a dictionary entry, or both | dictionary_coverage |
| A stable hash of the exact dictionary contents | dictionary_fingerprint |
| Keywords for a set of countries, expanding the shared '"*"' entry | dictionary_for_countries |
| Keywords from an R list | dictionary_from_dict |
| Keywords from a table with 'country', 'group' and 'term' columns | dictionary_from_table |
| Keywords from the plain-text format | dictionary_from_text |
| Get one country's entry from a dictionary | dictionary_get |
| Every group name used by any country, in first-seen order | dictionary_group_names |
| Load an EPTU-schema JSON keyword file | dictionary_load |
| Read keywords from any supported form | dictionary_read |
| Write keywords to a file | dictionary_save_keywords |
| All keywords as one readable table | dictionary_to_table |
| Keywords as plain text | dictionary_to_text |
| Audit a dictionary for empty groups and cross-group overlaps | dictionary_validate |
| The groups used by the EPU index | EPU_GROUPS |
| Accepted GDP/population period label formats | FORMATS_HELP |
| The frequencies a GDP file can have, and the months each period spans | GDP_FREQUENCIES |
| Normalise a keyword-group name | group_name |
| One-call "is everything wired up correctly" smoke test before a big run | health_check |
| Save/load a history to/from JSON | history_io history_load history_save |
| Newspapers retained for a country's history | history_retained_sites |
| Compute an in-sample index over a single window (no-history variant) | index_compute_index |
| Count matching and total articles per country-site-month | index_count |
| Count matching and total articles directly from an article archive | index_count_archive |
| Fit newspaper standard deviations and country means over [start, end] | index_fit_history |
| Build an index matcher for two or more keyword groups | index_matcher |
| Match many texts against an index matcher at once | index_matches |
| Score every country-month in 'counts' against a frozen history | index_score |
| Score one or more later windows against a frozen history (with-history variant) | index_score_windows |
| The index column of a result table | index_value_column |
| Write the bundled keyword template as an editable file | keywords_template |
| Read back a table saved by 'save_result()' | load_result |
| Does any of 'terms' occur in 'text'? | match_any_term_matches |
| One compiled alternation matching normalized text that contains any of 'terms' | match_component_pattern |
| Find which dictionary terms occur in a piece of text | match_find_terms |
| Baker, Bloom and Davis (2016) classification rule | match_is_epu |
| Is a value missing? | match_is_missing |
| 'light_normalize': normalize without collapsing whitespace | match_light_normalize |
| Normalize text for matching | match_normalize |
| Does one term occur in already-normalized text? | match_term_matches |
| Frozen history scaling parameters for a country index | new_history |
| Line chart for a chosen set of countries | plot_compare |
| Stacked area chart of article counts (components of the index) | plot_components |
| Compare one country's index with an external monthly series | plot_correlation |
| Compose trend, ranking, and distribution charts | plot_dashboard |
| Distribution of the index across months, one box/violin per country | plot_distribution |
| Country x month heatmap of the index | plot_heatmap |
| Plot frozen history standard deviations by newspaper | plot_history |
| One line/bar/area per country, zero configuration | plot_index |
| Bar chart ranking countries at one month | plot_rank |
| One line per group index (GDP-weighted blocks) | plot_regions |
| Rolling-average chart, one line per country | plot_rolling |
| Print the slice of 'result' with 'year_month' in [start, end] | print_period |
| Read every article file under 'root' into one table | read_articles |
| Read an annual, quarterly or monthly by-country table | read_periodic |
| Recompute the 100-mean rescaling against a different reference period | rebase_index |
| Render a minimal one-page report to a file | report_index |
| Reshape 'result' from monthly to quarterly or annual averages | resample_index |
| Line chart, one colour per country | result_plot |
| Save the results to a folder | result_save |
| Print a short summary and the latest months of the index | result_show |
| One row per country (and version): months, latest value, average, highest month | result_table |
| The country index as one column per country | result_wide |
| Read an article archive and compute a single-window EPU index in one call | run_index |
| Read an article archive and score it against a frozen history in one call | run_index_with_history |
| Batch-save several result tables in several formats at once | save_all |
| Save a result table as CSV | save_csv |
| Save a result table as a formatted '.xlsx' workbook | save_excel |
| Replace a worksheet with a result table in Google Sheets | save_gsheet |
| Save a result table as tidy records-oriented JSON | save_json |
| Save a result table as '.parquet' | save_parquet |
| Save a 'ggplot' object to a file | save_plot |
| Render a report to '.html', '.md', '.docx' or '.pdf' | save_report |
| Save a result table in the format implied by 'path''s extension | save_result |
| Write a result table to a caller-provided database connection | save_sql |
| Timestamped save so a re-run never silently overwrites the last one | save_versioned |
| Add a rolling-average smoothed column, per country | smooth_index |
| Plain-English multi-line summary, one block per country | summarize_index |
| A minimal theme tweak applied to the current ggplot2 default | theme_index |
| Top-'n' rows of 'result', sorted descending by column 'by' | top_index |
| Sanity-check every file under an archive, without any EPU classification | validate_archive |
| Weight by an existing column of 'country_index' itself | weights_custom |
| Equal weighting: every country in the group counts the same | weights_equal |
| Thin wrapper around 'aggregate_monthly_gdp()' | weights_gdp |
| Derive a composite weight from the first principal component | weights_pca |
| Turn annual, quarterly or monthly population into monthly values | weights_population |