↑
Datametri Logo

Interactive Interface

Seven steps from data to analysis in a local interface in your browser, without writing code.

01
Interactive Interface — run_app()
run_appRuns Locally7 StepsNo Coding
▼
The whole workflow runs without code, from a local interface that opens in your browser.

The run_app() command opens the interface that ships with the library in the browser on your computer. It has seven steps: Data, Audit, Edit, Table List, Tables, Charts and Analysis. The data file never leaves the computer; the footer of the interface states "Runs locally · your data never leaves this computer". Settings made in the interface are saved as a project file (.rds) and can be loaded later; results are downloaded as Excel, PowerPoint and Word files. Users who prefer code can run the same workflow with a spec and run_project().

Questions This Section Answers
  • How does a user without programming knowledge load data and produce tables and analyses?
  • Can editing and table settings be changed later and reused on another data file?
  • How are all outputs of a study downloaded from one place?
Scope
  • 1 · Data: SAV, DTA, XLSX, CSV, JSON and other formats; optional codebook (exploration workbook); summary of rows, variables, labelled variables and missing cells after loading; search by ID and variable.
  • 2 · Audit: Type, valid records, missing values, distinct values, minimum and maximum, unlabelled codes per variable; editing of types and labels; pasting labels from a spreadsheet; audit report (.xlsx).
  • 3 · Edit: Remove respondents, recode, combine conditions, bands, multi-response sets, total of questions, force chain, clear "don't know", segments (including overlapping groups), formula and if/else steps. Definitions are stored and changed with the Edit and Delete buttons; an invalid formula or condition is rejected before it is saved.
  • 4 · Table list: Final table variable list; table type for each variable (Categories, Scale, Numeric, Integer, Yes/No, Just-about-right, Text) and scale scores.
  • 5 · Tables: Banner variables, weight, significance testing (proportion and mean test options), effective base, cumulative percentages, index, nets (e.g. T2B, B2B), sorting, filter, grid and summary tables; on-screen preview of the selected table; Tables (.xlsx), Charts (.pptx) and Report (.docx) downloads; saving and loading projects.
  • 6 · Charts: Row and column variable, display (column % etc.), filter, chart type, title, category names and colours, saved charts and PNG download.
  • 7 · Analysis: Assumption tests, correlation, NPS, key drivers, TURF, funnel, wave comparison, penalty analysis, JAR chart and Jaccard drivers; all outputs download as one Excel file.
Value for Your Work
  • Accessibility: No programming knowledge is required; the same engine and the same numbers are used.
  • Data security: Processing runs on your computer; the data is not sent anywhere.
  • Continuity: The project file carries the settings; the same study can be re-run on another data file.
Step 1 · Data: file upload and data summary
Step 1 · Data: file upload and data summary (click to enlarge)
Step 2 · Audit: data quality by variable
Step 2 · Audit: data quality by variable (click to enlarge)
Step 3 · Edit: new variables and segments
Step 3 · Edit: new variables and segments (click to enlarge)
Step 4 · Table list: choosing variables and table types
Step 4 · Table list: choosing variables and table types (click to enlarge)
Step 5 · Tables: banner, tests and calculation
Step 5 · Tables: banner, tests and calculation (click to enlarge)
Step 6 · Charts: chart design
Step 6 · Charts: chart design (click to enlarge)
Step 7 · Analysis: advanced analyses
Step 7 · Analysis: advanced analyses (click to enlarge)
Note: The functions in the guide and the steps of the interface use the same engine; tables produced in the interface carry the same number formats as the Excel output (one decimal for percentages, two for means and standard deviations).

Data Preparation and Tabulation

From the raw data file to auditable, reproducible tables.

02
Project Definition and End-to-End Run
run_projectcreate_initial_specvalidate_spec
▼
All steps of a study are collected in a single definition file (spec).

In the library, a study is defined by one spec that contains the data file, codebook, corrections, exclusions, editing steps, weighting, banner and table definitions, tests, analyses, charts and output settings. run_project() runs this definition in a fixed order and writes the results to the output folder. The raw data file is never modified; every operation is recorded in a log. The same flow can also be run without code through the interface with run_app().

Questions This Section Answers
  • How is the same study reproduced in the same way across waves and projects?
  • In what order are corrections, exclusions and weighting applied?
  • How are operations tracked and documented within a team?
Scope
  • Spec fields: 25 fields: data, id_var, codebook, corrections, exclusions, quality, edits, checks, weighting, banners, tables, stat_tests, analysis, charts, deck, output and others.
  • Starting tools: create_data_exploration() creates the data exploration workbook, create_initial_spec() the first spec file.
  • Validation: validate_spec() checks the spec for consistency before it is run.
  • Data formats: sav, dta, sas7bdat, xlsx/xls, csv, txt, json, js and rds files are read.
Value for Your Work
  • Reproducibility: The spec is a plain text file; it can be kept under version control and reviewed.
  • Auditability: The log records the input, output and number of records affected by each step.
Workbook index sheet: table number, table name, title, type, base and weight information.
Workbook index sheet: table number, table name, title, type, base and weight information.
run_project() run summary.
run_project() run summary.
Creating the data exploration workbook.
Creating the data exploration workbook.
Use of variables in the spec.
Use of variables in the spec.
Note: Every function in the guide is documented with its description, arguments, a working example and real output.
03
Tabulation Engine and Significance Tests
tblbanner_vartbl_gridtbl_mr
▼
Cross-tabulations with significance letters are produced from banner and row definitions.

Table definitions are available for single-response, scale, numeric, multi-response and grid questions. Tables are produced with Col%, Row%, Total% and Frq versions, nets (such as top-2-box), and mean, median and standard-deviation rows; weighted data use the effective base. Differences between columns are tested with a proportion z-test and a mean t-test and shown as significance letters. Banners can be built from variables (banner_var()), expressions (banner_expr()) or nested layouts (banner_nest()).

Questions This Section Answers
  • Are the differences between groups statistically significant?
  • How is the same question reported side by side for several brands, each with its own base?
  • How are multi-response awareness questions turned into total awareness?
Scope
  • Table functions: tbl(), tbl_mr(), tbl_expr(), tbl_grid(), tbl_pick(), grid_table().
  • Combining: tbl_side(), tbl_under(), tbl_add(), tbl_math().
  • Brand measures: tot_variable() for the total of top-of-mind, spontaneous and aided awareness.
  • Low-level access: tab_core() and tab_mode() for custom table outputs.
Value for Your Work
  • Correct base: Tests on weighted data use the effective base.
  • Flexible design: Overlapping column and row definitions, grids and per-table options.
Excel output: Col% sheet with banner headers, base row, and mean / standard deviation / standard error rows.
Excel output: Col% sheet with banner headers, base row, and mean / standard deviation / standard error rows.
Table output.
Table output.
Percentage versions for a multi-response table.
Percentage versions for a multi-response table.
Grid table.
Grid table.
Note: The output workbook has separate Index, Col%, Col% Sign., Row%, Total% and Frq sheets.
04
Data Quality: Rules, Corrections and Exclusions
rule_*quality_flagsapply_correctionsaudit_data
▼
Data auditing, corrections and exclusions are carried out on the record.

Questionnaire logic (required answers, valid codes, ranges, routing, mutually exclusive codes, unique records) is defined as rules and violations are listed record by record. For speeding, straight-lining and duplicate records, quality flags propose candidate records; nothing is deleted automatically. Corrections and exclusions are kept in a workbook, applied in a fixed order and written to the log.

Questions This Section Answers
  • Does the data follow the routing logic of the questionnaire?
  • Which records were answered at unusual speed or with unusual patterns?
  • How are corrections from the field team applied in a traceable way?
Scope
  • Rule functions: rule_required(), rule_valid_codes(), rule_range(), rule_unique(), rule_exclusive(), rule_routing(), rule_count(), rule_require().
  • Quality flags: quality_flags() and write_exclusion_candidates(); the decision rests with the analyst.
  • Correction flow: make_corrections_template(), apply_corrections(), apply_exclusions().
  • Audit report: audit_data() and write_audit_xlsx().
Value for Your Work
  • Reliability: Faulty records are identified before the analysis.
  • Traceability: The reasons for exclusions and corrections are documented.
Data audit report: variable, label, type, valid records, missing values, distinct values, minimum and maximum.
Data audit report: variable, label, type, valid records, missing values, distinct values, minimum and maximum.
Rule check output.
Rule check output.
Exclusion candidates.
Exclusion candidates.
Applying corrections.
Applying corrections.
Applying exclusions.
Applying exclusions.
Note: The audit report also contains the share of missing values and the number of unlabelled codes for every variable.
05
Data Editing Steps
step_recodestep_combinestep_deriveapply_edits
▼
Recoding, deriving and combining are carried out with an ordered list of steps.

Editing steps recode variables, split them into bands, derive new variables from conditions and combine them. step_combine() applies a set operation on codes: or (at least one), and (all) and xor (exactly one). step_derive() produces segments that do not exist in the data (for example a combination of region, gender and age conditions) and makes them usable as banners. For hierarchical data (household and person) there are aggregation, push-down and stacking steps.

Questions This Section Answers
  • How are those who know at least one, all, or only one of several brands defined?
  • How is a segment that is not defined in the data (e.g. young female users) used in tables?
  • How are household-level and person-level data brought into one analysis file?
Scope
  • Steps: step_recode, step_bin, step_compute, step_if, step_derive, step_combine, step_count, step_total, step_merge, step_aggregate, step_level, step_stack and others.
  • Log: apply_edits() reports the number of records affected by each step.
Value for Your Work
  • Transparency: Every transformation is traceable as code.
  • Consistency: The same step list gives the same result in every wave.
apply_edits() log.
apply_edits() log.
step_aggregate(): aggregation across levels.
step_aggregate(): aggregation across levels.
step_level(): transfer between levels.
step_level(): transfer between levels.
step_stack(): stacking.
step_stack(): stacking.
Note: Running the three set operations (or, and, xor) on the same data and comparing the tables shows how the definitions differ.
06
Weighting
rim_weightweight_cellsapply_rim
▼
Rim and cell weights adapt the sample to the known population structure.

Rim weighting (iterative proportional fitting) fits several marginal distributions (gender, age, region) to target population proportions simultaneously. When the joint distribution is known, cell weighting produces weights from target shares, factors or desired record counts. The report shows the iterations, a comparison with the targets and the design effect; extreme weights can be limited with the cap parameter.

Questions This Section Answers
  • How far does the sample deviate from the target population structure?
  • What does weighting cost in precision (design effect)?
Scope
  • Functions: rim_weight(), apply_rim(), weight_cells().
  • Order of application: Weights are computed on the cleaned sample after corrections and exclusions.
Value for Your Work
  • Consistent estimates: Tables and tests are computed on the weighted base.
  • Reporting: The weighting report is written to the workbook.
Unweighted and weighted table: base, top-2-box and category percentages.
Unweighted and weighted table: base, top-2-box and category percentages.
Computing several tables together.
Computing several tables together.
Note: Bases and effective bases of weighted tables are reported together.

Tests, Assumptions and Analyses

Testing not only the results but also the assumptions they rest on.

07
Statistical Tests and Assumption Tests
test_*assumption_testsnormality_testslevene_testkmo_bartlett
▼
Assumptions are measured before the analysis and reported together with decision rules.

Chi-square, one-way ANOVA (LSD and Newman-Keuls), one-sample and paired t-tests, proportion z-tests, McNemar, Friedman, Kolmogorov-Smirnov, net-difference and paired-preference tests can be applied. Assumption checks are ready for normality (Shapiro-Wilk, Lilliefors, Mardia), equality of variances (Levene, Box's M), multicollinearity (VIF), multivariate outliers (Mahalanobis) and suitability for factor analysis (KMO, Bartlett). assumption_tests() runs these checks in a single call.

Questions This Section Answers
  • Are the assumptions of the chosen test met; if not, what is the alternative?
  • Are variances equal and the distribution normal enough before the analysis of variance?
  • Which records are multivariate outliers?
Scope
  • Tests: test_chisq(), test_anova(), test_t1(), test_paired(), test_z1(), test_z3(), test_z4(), test_mcnemar(), test_friedman(), test_ks(), test_net_diff(), test_paired_pref().
  • Assumptions: assumption_tests(), normality_tests(), levene_test(), box_m(), mahalanobis_distance(), collinearity(), regression_assumptions(), kmo_bartlett().
  • Decision rules: Thresholds such as Durbin-Watson 1.5–2.5, VIF < 5 and KMO ≥ 0.6 are included in the output.
  • Charts: chart_normality(), chart_residuals(), chart_scree().
Value for Your Work
  • Methodological support: Assumption checks are documented together with the analysis.
  • Method choice: When an assumption is violated, options such as rank-based tests or transformations become visible.
assumption_tests(): skewness and kurtosis indicators by variable.
assumption_tests(): skewness and kurtosis indicators by variable.
Normality tests.
Normality tests.
Levene test of homogeneity of variances.
Levene test of homogeneity of variances.
Box's M test.
Box's M test.
KMO and Bartlett test.
KMO and Bartlett test.
Multicollinearity (VIF).
Multicollinearity (VIF).
Normality chart.
Normality chart.
Regression assumptions.
Regression assumptions.
Note: The guide contains a "Prerequisites" table for every analysis: the assumption, what it measures, the expected result and the related function.
08
Key Drivers, Regression, Factor Analysis and Segmentation
key_driverregressionfactor_analysissegment_kmeanscorrespondence
▼
Drivers of overall evaluation and customer segments are examined with multivariate methods.

key_driver() gives correlation, regression and relative importance (Pratt) results together. regression() supports weighted linear, logistic and ordinal models. factor_analysis() and pca_analysis() work with varimax, quartimax, oblimin and promax rotations and parallel analysis. For segmentation there are k-means, Ward hierarchical clustering and a CHAID decision tree; correspondence analysis gives perceptual maps; correlation, Jaccard and wave comparison functions are also included.

Questions This Section Answers
  • Which attributes explain overall satisfaction?
  • Into how many segments do customers fall, and what are the segment profiles?
  • How are brands and image statements positioned on a perceptual map?
Scope
  • Analyses: key_driver(), regression(), factor_analysis(), pca_analysis(), segment_kmeans(), segment_hclust(), chaid(), correspondence(), correlation(), jaccard_drivers(), wave_compare(), nps().
  • Charts: analysis_plots() and individual chart_*() functions.
Value for Your Work
  • Prioritisation: Importance and performance can be read together.
  • Number of segments: The Ward selection table supports the decision on the number of segments.
Key driver analysis: importance values.
Key driver analysis: importance values.
Regression output.
Regression output.
Factor analysis.
Factor analysis.
K-means segment profiles.
K-means segment profiles.
CHAID splits.
CHAID splits.
Correspondence analysis map.
Correspondence analysis map.
Net Promoter Score (NPS).
Net Promoter Score (NPS).
Note: For every analysis the guide states in separate boxes when to use it, what to avoid and which warnings apply.
09
Pricing and Preference Analyses
van_westendorpgabor_grangerconjointmaxdiffturfpenalty_analysis
▼
Price sensitivity, preference and product-mix analyses run in the same data flow.

Van Westendorp calculates the acceptable price range, Gabor-Granger the demand curve and revenue index, price_elasticity() elasticity from a monadic test, and BPTO the price trade-off between brands. conjoint() produces part-worth utilities and attribute importance, maxdiff() the best–worst ranking, turf() the product mix with the highest reach, penalty_analysis() the penalty analysis for just-about-right scales, and funnel() the brand funnel. Just-about-right (JAR) distributions are also charted.

Questions This Section Answers
  • What is the acceptable price range, and at which price is the revenue index highest?
  • Which feature or message is preferred more?
  • Which product combination reaches the widest audience?
Scope
  • Price: van_westendorp(), gabor_granger(), price_elasticity(), bpto(), bpto_shares().
  • Preference: conjoint(), maxdiff(), turf(), borda_count(), penalty_analysis(), funnel().
  • Charts: A chart_*() function for each analysis.
Value for Your Work
  • Comparability: Several methods can be run on the same data and their results evaluated together.
  • Limits: The warnings of the relevant functions state that stated intent can differ from actual behaviour.
Van Westendorp price sensitivity.
Van Westendorp price sensitivity.
Gabor-Granger demand and revenue.
Gabor-Granger demand and revenue.
Conjoint part-worth utilities.
Conjoint part-worth utilities.
MaxDiff ranking.
MaxDiff ranking.
TURF cumulative reach.
TURF cumulative reach.
Penalty analysis.
Penalty analysis.
JAR distribution: total, female and male.
JAR distribution: total, female and male.
Brand funnel.
Brand funnel.
Note: For each pricing and preference analysis the guide has a working example and an interpretation note.

Charts and Outputs

Results are produced as Excel, PowerPoint, Word and CSV files.

10
Charts and Output Files
chart_tableexport_pptxexport_docxwrite_analysis_xlsx
▼
The same table and analysis results are output as charts, workbooks, presentations and reports.

25 chart functions work with a consistent colour palette, fonts and footers; chart_table() draws a chart from any table and chart_custom() directly from data. Results are written to branded Excel workbooks (tables and analyses), PowerPoint presentations (optionally with editable chart and table slides), Word reports, and CSV and PNG files. Colours, fonts and the logo can be adapted with datametri_brand().

Questions This Section Answers
  • How are tables transferred to a presentation and a report?
  • How are analysis results delivered in one workbook?
Scope
  • Output functions: write_tables_to_xlsx(), write_analysis_xlsx(), export_pptx(), export_docx(), export_deck(), export_tables_csv(), save_charts().
  • Chart functions: chart_table(), chart_custom(), chart_nps(), chart_funnel() and others.
Value for Your Work
  • Consistency: The same numbers appear in the workbook, the chart and the presentation.
  • Re-running: When new data arrive, the outputs are regenerated from the same definition.
PowerPoint output: a chart slide produced from a table; base information in the footer.
PowerPoint output: a chart slide produced from a table; base information in the footer.
chart_table(): chart from a table.
chart_table(): chart from a table.
chart_custom(): chart from data.
chart_custom(): chart from data.
Funnel chart.
Funnel chart.
CSV export.
CSV export.
Note: Charts on presentation slides can optionally be added as editable objects.
11
User Guide, Licence and Requirements
GPL-3WindowsUser Guide
▼
All 197 exported functions of the library are documented.

Datametri is a library for R, developed Windows-first and licensed under the GPL-3 (version 0.1.0). The User Guide contains, for each of the 197 functions, a description, usage, argument table, working example, real output and figure, as well as "when to use", "when to avoid", "warning" and "tip" notes. The Turkish edition adds more varied examples and prerequisite tables for every analysis.

Questions This Section Answers
  • Which function is used for which task?
  • Which functions check the assumptions of an analysis?
Scope
  • Guide: 231 pages in English, 281 pages in the Turkish edition; 85 figures; function index.
  • Appendices: Spec fields, troubleshooting, glossary and a prerequisites summary for each analysis.
  • Example data: The library's own example data set with example_survey().
Value for Your Work
  • Learning: The guide can be used as both a reference and a training resource.
  • Support: Contact us for organisation-specific training and integration requests.
analysis_plots(): producing analysis charts in bulk.
analysis_plots(): producing analysis charts in bulk.
Regression residuals chart.
Regression residuals chart.
Scree chart.
Scree chart.
Note: The guide and installation information will be announced on this page when the library is published.

Workflow

The steps in the spec file are run in the order below; the output of each step is written to the log.

1
Data
Reading, codebook, labelling
2
Quality
Rules, flags, audit
3
Corrections and Exclusions
Applied with a log
4
Editing
step_* steps
5
Weighting
Rim and cell
6
Tables, Tests, Analyses
Banners, significance, multivariate methods
7
Output
Excel, PowerPoint, Word, CSV

About the Library

The library is licensed under the GPL-3 and needs no compiler (Rtools) on Windows. Release information and installation steps will be announced on this page when the library is published. You can browse Excel, PowerPoint and Word outputs produced by the library on its own example data, without manual editing, as a ZIP. For demos, trials and training, please get in touch.

Datametri R Packages