crunch1.30.4 package

Crunch.io Data Tools

cube-methods

Methods on Cube objects

cube-missingness

Modify cube missing behavior

cube-residuals

Calculate standardized residuals from a CrunchCube

cubeMeasureType

Get measure type of cube result

cut-DatetimeVariable-method

Cut a Datetime Crunch variable

cut-NumericVariable-method

Cut a numeric Crunch variable

dashboard

View or set a dashboard URL

dataset-owner

Get and set the owner of a dataset

dataset-reference

Get a Crunch object's dataset URL

dataset-to-R

as.data.frame method for CrunchDataset

DatasetOrder

Organize Datasets

expressions

Construct Crunch Expressions from Crunch Database Functions

archive-and-publish

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

datasets

Get a catalog of datasets

exportDataset

Export a dataset to a file

exportDeck

Export a Crunch Deck

expressions-internal

Crunch expressions internal

fillExpr

Expression to fill a variable from another

filter-catalog

Get or set a dataset's filters

flattenOrder

Remove nesting of groups within an order/group

flipArrays

Rearrange array subvariables

folder

Find and move entities to a new folder

forceVariableCatalog

Force variables catalog to be loaded

forkDataset

Create a fork of a dataset

fortify

Fortify crunch objects for use with ggplot

generateNumCutLabels

Generate Labels for the cut function

generateWeightEntry

Generate entry for makeWeight

geo

Geography properties for crunch variables

getAccountUserCatalog

Find all users on your account

getDimTypes

Get dimension type

getTeams

Retrieve your teams

grabColNames

grab column names for subsetting crdfs

grabRowInd

grab row indicators for subsetting crdfs

grouped

Get grouped or ungrouped OrderGroups

handleAPIresponse

Do the right thing with the HTTP response

hasFunction

Check if a package has a function installed

hide

Hide/Unhide or Privatize/Deprivatize Variables

http-methods

HTTP methods for communicating with the Crunch API

index.table

Calculate an index table for a CrunchCube

AbstractCategory

Abstract categories

addGeoMetadata

Add geodata metadata to a crunch variable

addSubvariable

Add subvariable to an array

addSummaryStat

Add summary statistics to a CrunchCube

addVariables

Add multiple variables to a dataset

analysis-methods

Get and set slide analyses

appendDataset

Append one Crunch dataset to another

appendStream

Manually trigger a pending append to a dataset

applyAgainst

apply a function against a dimension

applyTransforms

Calculate the transforms from a CrunchCube

as-vector

Convert Variables to local R objects

as.environment-CrunchDataset-method

as.environment method for CrunchDataset

automation-undo

Undo behavior of a Crunch Automation Script

availableGeodataFeatures

Get the property features for available geographies

batches

See the appended batches of this dataset

buildDelimRegex

Build Regex to find delimited items.

c-categories

S3 method to concatenate Categories and Category objects

calcTransforms

Given a vector of values and elements, calculate the insertions

catalog-dataframes

as.data.frame method for catalog objects

catalogToDataFrame

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

Categories

Categories in CategoricalVariables

categoriesFromLevels

Convert a factor's levels into Crunch categories.

cd

Change to different folder

changeCategoryID

Change the id of a category for a categorical variable

check_margins

Check validity of margins

checkInstalledPackages

Check if a user has packages installed

cleanseBatches

Remove batches from a dataset

collapse_dims

Collapse an array from a CrunchCube by summing

collapseCategories

Combine Categories in place

combine

Combine categories or responses

compareDatasets

Compare two datasets to see how they will append

conditionalTransform

Conditional transformation

consent

Give consent to do things that require permission

ContextManager

Context managers

copyFolders

Copy the folder structure from one dataset to another.

copyOrder

Copy the variable order from one dataset to another.

copyOrderGroup

Copy the order of a VariableGroup (or individual variable URL) from ...

copyVariable

Copy a variable

createDataset

Create an empty dataset

createSubvarDeriv

Create subvariable derivation expressions

createWithMetadataAndFile

Make a dataset with metadata and a CSV

createWithPreparedData

Upload a prepared data.frame with metadata to Crunch

crtabs

Crunch xtabs: Crosstab and otherwise aggregate variables in a Crunch D...

crunch-api-key

Crunch API Keys

crunch-extract

Extract and modify Crunch objects

crunch-is

Test whether a Crunch object belongs to a class

crunch-package

crunch: Crunch.io Data Tools

crunch-summary

Summary methods for Crunch Variables

crunch-uni

Univariate statistics on Crunch objects

crunch_sitrep

Crunch situation report

crunch_user_agent

Generate or extend the User-Agent string

crunchAPI

Main Crunch API handling function

crunchBox

Make a CrunchBox

CrunchDataFrame

CrunchDataFrame

CrunchDataset

Crunch Datasets

CrunchVariable

Variables in Crunch

cube-computing

Work with CrunchCubes, MultitableResults, and TabBookResults

deck-titles

Manipulate deck titles

decks

Get a dataset's DeckCatalog

delete

Delete a Crunch object from the server

deleteDataset

Delete a dataset from the dataset list

deleteSubvariables

Delete subvariables from an array

deleteVariables

Delete Variables Within a Dataset

derivations

Get or set a derived variable's expression

deriveArray

Make a Categorical Array or Multiple Response variable

describe-catalog

Get and set names, aliases on Catalog-type objects

describe-entity

Name, alias, and description for Crunch objects

dichotomize

Indicate how categories represent a dichotomized value

dim-dataset

Dataset dimensions

dimension-comparison-pairwise

Pairwise column and row comparison

dimension-comparison

Column and row comparison

dimSums

Collapse an array from a CrunchCube by summing across dimensions to re...

dropRows

Permanently delete rows from a dataset

duplicated

"duplicated" method for Crunch objects

embedCrunchBox

Get HTML for embedding a CrunchBox

ensureValidCase

Validate case statements for case variables

envOrOption

Get/set options (user-specified, in environment, or in R options)

escapeRegex

Escape a regular expression

exclusion

View and set exclusion filters

Insertions

Insert categories in transformations

interactVariables

Create a variable by interacting categorical variables

is-na-categories

is.na for Categories

is-public

View and modify the "public" attribute of artifacts

is.editor

Read and set edit privileges

is.TRUEorFALSE

Check that a value is TRUE or FALSE

joinDatasets

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

length

Length of Crunch objects

listDatasetGadget

Open dataset selector

listDatasets

Get the names of datasets in a project

loadDataset

Load a Crunch Dataset

lock

Lock and unlock a dataset for editing

login

DEPRECATED! Authenticate with the Crunch API

makeArrayGadget

Array builder

makeCaseVariable

Make a case variable

makeCaseWhenVariable

Create a categorical or numeric variable based on conditions

makeDimTransform

Helper for creating slide dimension transformations for dashboards and...

makeInsertion

Convert a child class of Insertion into a proper Insertion

makeMarginMap

Make a map of margins

makeMRFromText

Create Multiple Response Variable from Delimited lists

makeWeight

Generate a weight variable

margin-translation

Convert from user margins to real cube margins or vice versa

matchCatToFeat

Match categories with features from geodata

me

My user entity

members

Manage access to datasets and other objects

merge

Merge a CrunchDataFrame

mergeFork

Merge changes to a dataset from a fork

modifyWeightVariables

Change which variables can be set as a dataset's weight.

moveLastElement

Move and delete last element of a vector This moves the last element o...

multitable-catalog

Multitable entities for a dataset

mv

Functions to manipulate variables' or project's folder structure

na-omit-categories

Omit missing categories

newDataset

Upload data to Crunch to make a new dataset

newDatasetByColumn

Upload a data.frame column-by-column to make a new dataset

newDatasetFromFile

Upload a file to Crunch to make a new dataset

newDeck

Create an empty Crunch Deck

newExampleDataset

Import a fixture dataset for testing

newFilter

Create a new filter

newMarkdownSlide

Add a new markdown slide to a deck

newMultitable

Create a new Multitable

newProject

Create a new folder

newSlide

Append a new slide to a Crunch Deck

notifyIfNewVersion

See if there's a new version of the package on GitHub

noTransforms

Remove transformations from a CrunchCube

ordering

Get and set VariableOrder

owners

See who owns these datasets

palettes

Get the palettes from a crunch object

pendingStream

Get the pending streams for a dataset

pk

Get and set the primary key for a Crunch dataset

pollProgress

Check a Crunch progress URL until it finishes

population

Get and set the market size for Crunch datasets

preCrunchBoxCheck

Check if a dataset will make a good CrunchBox

prepareDataForCrunch

Translate a data.frame to Crunch format

projects

List project folders

reassignUser

Reassign all Crunch objects from a user

refresh

Get a fresh copy from the server

removeEmptyGroups

Remove OrderGroups with no entities

reorderSlides

Reorder slides in a CrunchDeck

replaceCharWithNumeric

Transform character vectors into indices

replaceMissingWithTRUE

Replace missing elements with TRUE

resolution

Methods for Datetime variable resolutions

restoreVersion

Restore a dataset to a previously saved version

retry

Retry

rmdir

Delete a folder

rowCount

Create variables based on row-wise functions for crunch Multiple Respo...

rowDistinct

Create variables useful for determining whether a row's values are sus...

runCrunchAutomation

Run a crunch automation script

saveVersion

Create a new saved version

scoreCatToFeat

Score similarity between a feature dataframe and categories

script-catalog

Crunch Automation scripts entities for a dataset

searchDatasets

Search Crunch for datasets.

self

Get the URL of this object

serialPaste

Make a prose list

session-extract

Extract catalogs from a Session object

session

Get various catalogs for your Crunch session

set_crunch_config

Set or modify general Crunch API request configuration

setCrunchAPI

Change which server to point to

setEntitySlot

Base setter for Crunch objects

setEntitySlotWrapBody

Setter for Crunch objects that wraps in a "body"

setMultiEntitySlots

setter for Crunch objects that allows a single request to update multi...

setName

Change the name of the current folder

setNames

Change the name of the entities in a catalog

setOrder

Change the order of entities in folder

settings

View and modify dataset-level settings

setupCrunchAuth

Helper for switching between API keys and urls

share

Share a dataset

shoji-index

Get the body of a Catalog

shojifyDatasetMetadata

Wrap variable metadata inside a dataset entity

ShojiObject-class

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

ShojiOrder-slots

Manipulate VariableGroup and VariableOrder

shojiURL

Get a resource URL from a Shoji Object

show

Show methods for Crunch objects

showTransforms

Show transformations on a Crunch object

skipMissingCategories

Handle missing categories in CrunchCube

slideCategories

Create sliding subvariable definitions

slides

Access the slides of a CrunchDeck

streaming

Set the streaming property of a dataset

streamRows

Stream data to a Crunch dataset

SubtotalsHeadings

Subtotals and headings

subtypeInsertion

Convert from Insertion to Insertion subtypes

Subvariables

Subvariables in Array Variables

SummaryStat

Summary insertions

tabbook-dim

TabBookResult and MultitableResult dimension

tabBook

Compute a Tab Book

table

Table function for Crunch objects

team-sharing

Share Crunch assets with a team

temp.options

Set some global options temporarily

tojson-crunch

toJSON methods for Crunch objects

tokenAuth

Add an auth token manually

toVariable

Generic method for converting objects to Crunch representations

Transforms

Transformations of variable and cube views

translateCubeIndex

Translate user facing cube subset to programmatic cube subset

translateHidden

Translate provided index to an index which accounts for hidden categor...

tuple-methods

Methods for ShojiTuples

type

Change Crunch variable types

unbind

Split an array or multiple-response variable into its CategoricalVaria...

unshare

Revoke a user's access to a dataset

urls

Get the URLs contained in a Catalog or Order object

user-email

Extract the email from a User Entity

users

Get information about users who have access to a dataset

validateNamesInDims

error iff the names are not a dimension in the cube provided

var-categories

Get and set Categories on Variables

variable-as-methods

as.* methods for variables

VariableCatalog

Collection of Variables within a Dataset

VariableDefinition

Construct a variable definition

variableMetadata

Get all variable metadata for a dataset

VariableOrder

Organize Variables within a Dataset

variables

Access a catalog of variables

versions

Access the saved versions of a dataset

webApp

View a Crunch Object in the Web Application

weight

Dataset weights

weightVariables

Get a dataset's weightVariables

which

"which" method for CrunchLogicalExpr

with-context-manager

Context manager's "with" method

write.csv.gz

Write CSV to a compressed file

writePreparedData

Persist to disk a prepared data.frame and metadata

The Crunch.io service <https://crunch.io/> provides a cloud-based data store and analytic engine, as well as an intuitive web interface. Using this package, analysts can interact with and manipulate Crunch datasets from within R. Importantly, this allows technical researchers to collaborate naturally with team members, managers, and clients who prefer a point-and-click interface.

  • Maintainer: Greg Freedman Ellis
  • License: LGPL (>= 3)
  • Last published: 2024-01-17