Upload

newDataset

Upload data to Crunch to make a new dataset

toVariable

Generic method for converting objects to Crunch representations

VariableDefinition VarDef

Construct a variable definition

addVariables

Add multiple variables to a dataset

appendStream

Manually trigger a pending append to a dataset

pendingStream

Get the pending streams for a dataset

pk pk<-

Get and set the primary key for a Crunch dataset

prepareDataForCrunch

Translate a data.frame to Crunch format

createWithPreparedData

Upload a prepared data.frame with metadata to Crunch

Load

listDatasets

Show the names of all Crunch datasets associated with a catalog

loadDataset

Load a Crunch Dataset

datasets datasets<-

Get the dataset catalog

Dataset manipulation

as.environment

as.environment method for CrunchDataset

batches

See the appended batches of this dataset

cleanseBatches

Remove batches from a dataset

as.data.frame

as.data.frame method for CrunchDataset

delete

Delete a Crunch object from the server

deleteDataset

Delete a dataset from the dataset list

dim ncol

Dataset dimensions

dropRows

Permanently delete rows from a dataset

exclusion exclusion<-

View and set exclusion filters

ordering ordering<-

Get and set VariableOrder

restoreVersion

Restore a dataset to a previously saved version

saveVersion

Create a new saved version

versions

Access the saved versions of a dataset

weight weight<- is.weight is.weight<-

Dataset weights

weightVariables

Get a dataset's weightVariables

settings settings<-

View and modify dataset-level settings

lock unlock

Lock and unlock a dataset for editing

Multiple datasets

appendDataset

Append one Crunch dataset to another

compareDatasets

Compare two datasets to see how they will append

joinDatasets extendDataset merge

Add columns from one dataset to another, joining on a key

merge

Merge a CrunchDataFrame

forkDataset

Create a fork of a dataset

mergeFork

Merge changes to a dataset from a fork

searchDatasets

Search Crunch for datasets.

Variable manipulation

c

S3 method to concatenate Categories and Category objects

categoriesFromLevels

Convert a factor's levels into Crunch categories.

changeCategoryID

Change the id of a category for a categorical variable

collapseCategories

Combine Categories in place

variables variables<- allVariables allVariables<-

Access a Dataset's Variables Catalog

deleteVariables deleteVariable

Delete Variables Within a Dataset

derivation derivation<- is.derived is.derived<-

Get or set a derived variable's expression

name name<- value value<- id

Category attributes

is.dichotomized dichotomize undichotomize

Indicate how categories represent a dichotomized value

hiddenVariables

Show the names of a dataset's hidden variables

hide unhide

Hide and Unhide Variables

hideVariables hiddenVariables<- unhideVariables

Hide and unhide variables within a dataset

na.omit

Omit missing categories

type type<-

Change Crunch variable types

categories categories<-

Get and set Categories on Variables

variableMetadata

Get all variable metadata for a dataset

Deriving variables

combine

Combine categories or responses

copyVariable copy

Copy a variable

makeCaseVariable

Make a case variable

cut

Cut a numeric Crunch variable

interactVariables

Create a variable by interacting categorical variables

conditionalTransform

Conditional transformation

makeWeight

Generate a weight variable

Array variables

subvariables subvariables<-

Subvariables in Array Variables

addSubvariable addSubvariables

Add subvariable to an array

deleteSubvariables deleteSubvariable

Delete subvariables from an array

flipArrays

Rearrange array subvariables

importMultitable

Import a Multitable

makeArray makeMR deriveArray

Make a Categorical Array or Multiple Response variable

is.selected is.selected<-

is.selected for Categories

unbind

Split an array or multiple-response variable into its CategoricalVariables

Ordering

length

Length of an Order

entities entities<- name name<- names names<- duplicates duplicates<-

Manipulate VariableGroup and VariableOrder

copyOrder

Copy the variable order from one dataset to another.

dedupeOrder

Remove duplicated entities from an order/group

flattenOrder

Remove nesting of groups within an order/group

grouped ungrouped

Get grouped or ungrouped OrderGroups

locateEntity

Find an entity in an order object

moveToGroup moveToGroup<-

Move entities to a group

removeEmptyGroups

Remove OrderGroups with no entities

Analysis

crtabs

Crunch xtabs: Crosstab and otherwise aggregate variables in a Crunch Dataset

mean sd min max

Univariate statistics on Crunch objects

margin.table prop.table round bases

Work with CrunchCubes, MultitableResults, and TabBookResults

dimnames dim is.na dimensions variables measures names aliases descriptions types notes

Methods on Cube objects

dashboard setDashboardURL dashboard<-

View or set a dashboard URL

duplicated

"duplicated" method for Crunch objects

filters filters<-

Get or set a dataset's filters

fortify.CrunchDataFrame fortify.CrunchDataset

Fortify crunch objects for use with ggplot

is.na is.na<-

is.na for Categories

multitables multitables<-

Multitable entities for a dataset

newFilter

Create a new filter

newMultitable

Create a new Multitable

table

Table function for Crunch objects

as.vector

Convert Variables to local R objects

Export

crunchBox CrunchBox

Make a CrunchBox

embedCrunchBox

Get HTML for embedding a CrunchBox

exportDataset write.csv

Export a dataset to a file

preCrunchBoxCheck

Check if a dataset will make a good CrunchBox

tabBook

Compute a Tab Book

write.csv.gz

Write CSV to a compressed file

writePreparedData

Persist to disk a prepared data.frame and metadata

Geodata

addGeoMetadata

Add geodata metadata to a crunch variable

availableGeodataFeatures

Get the property features for available geographies

CrunchGeography geo geo<- availableGeodata

Geography properties for crunch variables

matchCatToFeat

Match categories with features from geodata

scoreCatToFeat

Score similarity between a feature dataframe and categories

Admin

is.archived is.draft is.published is.archived<- is.draft<- is.published<- archive publish

Get and set "archived" and "published" status of a dataset

owner owner<-

Get and set the owner of a dataset

getAccountUserCatalog

Find all users on your account

getTeams

Retrieve your teams

is.public is.public<-

View and modify "public" attribute

is.editor is.editor<-

Read and set edit privileges

login

Authenticate with the Crunch API

logout

Kill the active Crunch session

me

My user entity

newProject

Create a new project

owners ownerNames

See who owns these datasets

permissions

See who has access to a dataset

icon icon<-

Get or set a project's icon

projects

Get the project catalog

resetPassword

Reset your password

share

Share a dataset

members<- members

Teams

unshare

Revoke a user's access to a dataset

expropriateUser

Expropriate all Crunch objects from a user

Catalogs

length

Length of Catalog

catalogToDataFrame

A utility to return a data.frame from a ShojiCatalog.

names names<- emails aliases aliases<- notes notes<- descriptions descriptions<- types ids timestamps

Get and set names, aliases on Catalog-type objects

index index<-

Get the body of a Catalog

Crunch options

consent with_consent

Give consent to do things that require permission

Utility

is.dataset is.CrunchExpr is.Expr is.Geodata is.shoji is.variable is.Numeric is.Categorical is.Text is.Datetime is.Multiple is.MR is.MultipleResponse is.CA is.Array is.CategoricalArray

Test whether a Crunch object belongs to a class

name name<- description description<- startDate startDate<- endDate endDate<- id notes notes<- alias alias<- digits digits<-

Name, alias, and description for Crunch objects

refresh

Get a fresh copy from the server

webApp

View a Dataset in the Web Application

API

crGET crPUT crPATCH crPOST crDELETE

HTTP methods for communicating with the Crunch API

self

Get the URL of this object

session

Get various catalogs for your Crunch session

jsonprep toJSON

toJSON methods for Crunch objects

Other

Categories-class

Categories in CategoricalVariables

CrunchDataset-class

Crunch Datasets

CrunchVariable-class

Variables in Crunch

DatasetOrder-class

Organize Datasets

ShojiObject-class

Mix-in class for multiple inheritance of variables and datasets.

ShojiOrder-extract

Extract and update in VariableOrders and VariableGroups

VariableCatalog-class

Collection of Variables within a Dataset

VariableOrder-class

Organize Variables within a Dataset

[,CubeDims,ANY,ANY-method

Extract and modify subsets of Catalog-type objects

category-extract

Access Category fields directly

crunch

Crunch.io: instant, visual, collaborative data analysis

dataset-extract

Subset datasets and extract variables

dataset-update

Update a variable or variables in a dataset

expressions

Construct Crunch Expressions

session-extract

Extract catalogs from a Session object

subvars-extract

Extract and modify subsets of subvariables

tabbook-methods

TabBookResult and MultitableResult methods

entity,CrunchProject-method

Methods for ShojiTuples

[,CrunchExpr,CrunchLogicalExpr,ANY-method

"Subset" a Variable

variable-update

Update variables with expressions or values

Internal

ContextManager

Context managers

show

Show methods for Crunch objects

temp.options temp.option

Set some global options temporarily

which

"which" method for CrunchLogicalExpr

with

Context manager's "with" method