init-mona-project

Scaffold local R research environments for SCB MONA projects.

2|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/adamaltmejd/registry-research-toolkit --skill init-mona-project
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: init-mona-project
Source: https://github.com/adamaltmejd/registry-research-toolkit/tree/main/plugins/microdata-tools-se/skills/init-mona-project
Command: npx skills add https://github.com/adamaltmejd/registry-research-toolkit --skill init-mona-project

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires mock-data-wizard, reg-meta, and includes references (resource) components.

What problem does it solve?

This skill solves the complexity of setting up a local research environment that mirrors the secure, restricted-access requirements of the Swedish SCB MONA platform, ensuring researchers can work with synthetic data locally before deploying to the secure environment.

Core Features & Use Cases

  • Standardized Scaffolding: Automatically generates project structures, RStudio configurations, and git-ready environments.
  • Secure Workflow Management: Implements a two-phase workflow that enforces strict separation between local mock data and secure MONA aggregate statistics.
  • Use Case: A researcher needs to start a new project using registry data; this skill creates the necessary directory structure, generates mock data from provided statistics, and sets up the pipeline to ensure no personal data ever leaves the secure environment.

Quick Start

Use the init-mona-project skill to scaffold a new research project in the current directory by providing the project slug and SCB project number.

Frequently Asked Questions about init-mona-project

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up an R project structure for SCB MONA registry data?

Scaffolding an R project structure for SCB MONA registry data requires generating a standardized directory layout, RStudio configurations, and pipeline settings. This creates a git-ready research environment that mirrors the secure platform's restricted-access requirements before deployment.

What is the workflow for developing with synthetic data before deploying to the MONA secure environment?

The MONA secure environment workflow uses a two-phase approach that enforces strict separation between local synthetic data development and secure aggregate statistics. This ensures researchers can validate pipelines locally while guaranteeing no personal registry data ever leaves the secure environment.

Do I need mock-data-wizard and reg-meta installed to scaffold an SCB MONA project?

Yes, scaffolding an SCB MONA project requires the mock-data-wizard and reg-meta CLI tools to be installed and configured. These dependencies are essential for resolving metadata and extracting data to generate the local synthetic mock data used during development.

Can I generate mock data from existing statistics when creating a local MONA research environment?

Generating mock data from provided statistics is a core feature of scaffolding a local MONA research environment. The environment automatically creates synthetic datasets based on your registry statistics, allowing you to develop and test R pipelines locally without accessing real personal data.

What's the best way to ensure reproducibility when transitioning local R data science projects to secure aggregate analysis?

Ensuring reproducibility when transitioning to secure aggregate analysis requires standardized project scaffolding that enforces a strict two-phase workflow. By separating local synthetic data development from secure MONA platform execution, the pipeline configuration guarantees that only aggregate statistics are produced.

Why does my SCB MONA project fail without proper metadata resolution and data extraction setup?

An SCB MONA project fails without proper setup because scaffolding relies on the reg-meta and mock-data-wizard CLI tools for metadata resolution and data extraction. Without these dependencies configured, the environment cannot generate the synthetic mock data required to initialize the R pipeline.