Getting started

How to find, import, and clean data in Crunch

Getting Started

Here’s how to log in to Crunch, import some data, and do some basic cleaning so that you have a beautiful, easily explorable dataset.

Crunch Variables

Datasets contain variables, which in Crunch contain rich metadata so that they display and export with human-friendly labeling. This set of tools enables you to clean and refine that metadata.

Array Variables

Crunch supports several types of ‘array’ variables, which group together multiple columns of data in ways common in survey research.

Variable Folders and Organization

Variables within datasets are organized in folders. The crunch package provides tools for creating folders and moving variables among them.

Organizing Datasets in Projects

“Projects” are like folders for your datasets. They allow you to organize datasets into groups and manage access to those bundles of datasets.

Exploring and analyzing

Adding Variables

The crunch package makes it easy for you to derive new variables in your dataset. These derived variables retain their functional connection on the server, such that changes to the input variables automatically propagate to the derived variable.

Analyzing Crunch Data

With Crunch, you can harness the power of R to do computations with your datasets on the server that would be difficult or impossible to accomplish in a graphical user interface.

Filtering Data

With the crunch package, you can both filter the views of data you work with in your R session and manage the filters that you and your collaborators see in the web application.

Subtotals and Headings

Modify subtotals and headings from R

Exporting Data

For times when you need to take data off the server, Crunch provides several means for exporting data, whether to various file formats or to objects in your R session.

Fork and Merge a Dataset

How to safely edit a live dataset

Going deeper

Details on the Crunch API and objects

Crunch Internals

Here are some details on how the Crunch API works, which may be useful to know if you’re looking to do complex actions or trying to understand how to improve performance of your R code.

Abstract Categories

The Crunch package has a number of abstractions for categories and other category-like things. This vignette explains the Internals and reasoning behind them.

Cookbooks

References that show how to do common tasks

Crunch Deck Cookbook

The crunch package makes it easy to save analyses in a scalable way. This cookbook shows you how to set the components of a slide so that you have exactly the analysis you want.