Learn R Programming

⚠️There's a newer version (1.31.0) of this package.Take me there.

crunch (version 1.28.1)

Crunch.io Data Tools

Description

The Crunch.io service 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.

Copy Link

Version

Install

install.packages('crunch')

Monthly Downloads

601

Version

1.28.1

License

LGPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Greg Freedman Ellis

Last Published

August 13th, 2021

Functions in crunch (1.28.1)

Insertions-class

Insert categories in transformations
Categories-class

Categories in CategoricalVariables
ContextManager

Context managers
SO_schema

Schema for the 2017 Stack Overflow developer survey
CrunchDataFrame

CrunchDataFrame
CrunchDataset-class

Crunch Datasets
ShojiObject-class

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

Organize Datasets
AbstractCategories-class

Abstract categories
SO_survey

R users who responded to the 2017 Stack Overflow developer survey
archive-and-publish

Get and set "archived" and "published" status of a dataset
as-vector

Convert Variables to local R objects
as.environment,CrunchDataset-method

as.environment method for CrunchDataset
VariableOrder-class

Organize Variables within a Dataset
addGeoMetadata

Add geodata metadata to a crunch variable
ShojiOrder-slots

Manipulate VariableGroup and VariableOrder
createWithPreparedData

Upload a prepared data.frame with metadata to Crunch
catalog-dataframes

as.data.frame method for catalog objects
catalogToDataFrame

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

Check validity of margins
addSubvariable

Add subvariable to an array
c-categories

S3 method to concatenate Categories and Category objects
createWithMetadataAndFile

Make a dataset with metadata and a CSV
addSummaryStat

Add summary statistics to a CrunchCube
Subtotal-class

Subtotals and headings
buildDelimRegex

Build Regex to find delimited items.
SummaryStat-class

Summary insertions
Transforms-class

Transformations of variable and cube views
dashboard

View or set a dashboard URL
changeCategoryID

Change the id of a category for a categorical variable
CrunchVariable-class

Variables in Crunch
cleanseBatches

Remove batches from a dataset
applyAgainst

apply a function against a dimension
subtotalArray

Calculate the transforms from a CrunchCube
crunchAPI

Main Crunch API handling function
automation-undo

Undo behavior of a Crunch Automation Script
categoriesFromLevels

Convert a factor's levels into Crunch categories.
cd

Change to different folder
combine

Combine categories or responses
appendDataset

Append one Crunch dataset to another
Subvariables-class

Subvariables in Array Variables
envOrOption

Grab either env variable or option
copyFolders

Copy the folder structure from one dataset to another.
appendStream

Manually trigger a pending append to a dataset
deleteDataset

Delete a dataset from the dataset list
collapseCategories

Combine Categories in place
makeInteractions

Make case statements that define the interaction of two or more other variables
getAccountUserCatalog

Find all users on your account
copyOrder

Copy the variable order from one dataset to another.
dimension-comparison

Column and row comparison
copyOrderGroup

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

Get the property features for available geographies
VariableCatalog-class

Collection of Variables within a Dataset
crunch_user_agent

Generate or extend the User-Agent string
calcInsertions

Given a vector of values and elements, calculate the insertions
VariableDefinition

Construct a variable definition
createDataset

Create an empty dataset
createSubvarDeriv

Create subvariable derivation expressions
collapse_dims

Collapse an array from a CrunchCube by summing
copyVariable

Copy a variable
deleteSubvariables

Delete subvariables from an array
filter

Get and set slide analyses
calcTransforms

Calculate transforms for an array
aliases

Get and set names, aliases on Catalog-type objects
is.VariableDefinition

Test whether a Crunch object belongs to a class
crunch-summary

Summary methods for Crunch Variables
dimension-comparison-pairwise

Pairwise column and row comparison
crtabs

Crunch xtabs: Crosstab and otherwise aggregate variables in a Crunch Dataset
crunch-extract

Extract and modify Crunch objects
crunchBox

Make a CrunchBox
cut,DatetimeVariable-method

Cut a Datetime Crunch variable
newDatasetFromFile

Upload a file to Crunch to make a new dataset
exportDeck

Export a Crunch Deck
cut,NumericVariable-method

Cut a numeric Crunch variable
deleteVariables

Delete Variables Within a Dataset
derivation

Get or set a derived variable's expression
dimSums

Collapse an array from a CrunchCube by summing across dimensions to remove
addVariables

Add multiple variables to a dataset
compareDatasets

Compare two datasets to see how they will append
cube-computing

Work with CrunchCubes, MultitableResults, and TabBookResults
moveLastElement

Move and delete last element of a vector This moves the last element of a vector to an index, then deletes the last element, it is broken out for testing purposes
mergeFork

Merge changes to a dataset from a fork
embedCrunchBox

Get HTML for embedding a CrunchBox
owner

Get and set the owner of a dataset
crunch-uni

Univariate statistics on Crunch objects
dropRows

Permanently delete rows from a dataset
projects

Get the project catalog
grouped

Get grouped or ungrouped OrderGroups
exclusion

View and set exclusion filters
batches

See the appended batches of this dataset
conditionalTransform

Conditional transformation
deriveArray

Make a Categorical Array or Multiple Response variable
http-methods

HTTP methods for communicating with the Crunch API
checkInstalledPackages

Check if a user has packages installed
crunch

Crunch.io: instant, visual, collaborative data analysis
generateWeightEntry

notifyIfNewVersion

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

Create a new filter
flattenOrder

Remove nesting of groups within an order/group
dimensions

Methods on Cube objects
decks

Get a dataset's DeckCatalog
restoreVersion

Restore a dataset to a previously saved version
ncol

Dataset dimensions
expressions-internal

Crunch expressions internal
lock

Lock and unlock a dataset for editing
consent

Give consent to do things that require permission
exportDataset

Export a dataset to a file
datasets

Get a catalog of datasets
datasetReference

Get a Crunch object's dataset URL
makeArrayGadget

Array builder
filters

Get or set a dataset's filters
cube-residuals

Calculate standardized residuals from a CrunchCube
is-na-categories

is.na for Categories
cubeMeasureType

Get measure type of cube result
escapeRegex

Escape a regular expression
describe-entity

Name, alias, and description for Crunch objects
hasFunction

Check if a package has a function installed
tabBook

Compute a Tab Book
dichotomize

Indicate how categories represent a dichotomized value
versions

Access the saved versions of a dataset
makeInsertion

Convert a child class of Insertion into a proper Insertion
handleAPIresponse

Do the right thing with the HTTP response
dataset-to-R

as.data.frame method for CrunchDataset
rowCount

Create variables based on row-wise functions for crunch Multiple Response Variables
newExampleDataset

Import a fixture dataset for testing
fortify

Fortify crunch objects for use with ggplot
is-public

View and modify the "public" attribute of artifacts
getTeams

Retrieve your teams
newMultitable

Create a new Multitable
share

Share a dataset
is.editor

Read and set edit privileges
margin-translation

Convert from user margins to real cube margins or vice versa
multitables

Multitable entities for a dataset
webApp

View a Crunch Object in the Web Application
newProject

Create a new project
CrunchGeography-class

Geography properties for crunch variables
replaceMissingWithTRUE

Replace missing elements with TRUE
hiddenFolder

Hide/Unhide or Privatize/Deprivatize Variables
setMultiEntitySlots

setter for Crunch objects that allows a single request to update multiple parts of an entity
showMissing

Modify cube missing behavior
ordering

Get and set VariableOrder
scoreCatToFeat

Score similarity between a feature dataframe and categories
resetPassword

Reset your password
makeDimTransform

Helper for creating slide dimension transformations for dashboards and exports
listDatasetGadget

Open dataset selector
getDimTypes

Get dimension type
writePreparedData

Persist to disk a prepared data.frame and metadata
grabColNames

grab column names for subsetting crdfs
expressions

Construct Crunch Expressions from Crunch Database Functions
makeCaseWhenVariable

Create a categorical or numeric variable based on conditions
makeMarginMap

Make a map of margins
loadDataset

Load a Crunch Dataset
generateNumCutLabels

Generate Labels for the cut function
delete

Delete a Crunch object from the server
forkDataset

Create a fork of a dataset
newDataset

Upload data to Crunch to make a new dataset
self

Get the URL of this object
listDatasets

Get the names of datasets in a project
matchCatToFeat

Match categories with features from geodata
me

My user entity
session

Get various catalogs for your Crunch session
saveVersion

Create a new saved version
reorderSlides

Reorder slides in a CrunchDeck
grabRowInd

grab row indicators for subsetting crdfs
scripts

Crunch Automation scripts entities for a dataset
removeEmptyGroups

Remove OrderGroups with no entities
replaceCharWithNumeric

Transform character vectors into indices
searchDatasets

Search Crunch for datasets.
streaming

Set the streaming property of a dataset
newDatasetByColumn

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

Manipulate deck titles
interactVariables

Create a variable by interacting categorical variables
duplicated

"duplicated" method for Crunch objects
forceVariableCatalog

Force variables catalog to be loaded
length

Length of Crunch objects
fillExpr

Expression to fill a variable from another
index.table

Calculate an index table for a CrunchCube
rmdir

Delete a folder
retry

Retry
noTransforms

Remove transformations from a CrunchCube
show

Show methods for Crunch objects
joinDatasets

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

Show transformations on a Crunch object
subtypeInsertion

Convert from Insertion to Insertion subtypes
runCrunchAutomation

Run a crunch automation script
makeMRFromText

Create Multiple Response Variable from Delimited lists
slideCategories

Create sliding subvariable definitions
members

Manage access to datasets and other objects
newSlide

Append a new slide to a Crunch Deck
merge

Merge a CrunchDataFrame
setEntitySlot

Base setter for Crunch objects
setEntitySlotWrapBody

Setter for Crunch objects that wraps in a "body"
ensureValidCase

Validate case statements for case variables
tabbook-dim

TabBookResult and MultitableResult dimension
preCrunchBoxCheck

Check if a dataset will make a good CrunchBox
as.Text

as.* methods for variables
var-categories

Get and set Categories on Variables
prepareDataForCrunch

Translate a data.frame to Crunch format
set_crunch_config

Set or modify general Crunch API request configuration
settings

View and modify dataset-level settings
weightVariables<-

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

Change the name of the current folder
mv

Functions to manipulate variables' or project's folder structure
popSize

Get and set the market size for Crunch datasets
is.TRUEorFALSE

Check that a value is TRUE or FALSE
pollProgress

Check a Crunch progress URL until it finishes
resolution

Methods for Datetime variable resolutions
newDeck

Create an empty Crunch Deck
index

Get the body of a Catalog
unbind

Split an array or multiple-response variable into its CategoricalVariables
setNames

Change the name of the entities in a catalog
login

Authenticate with the Crunch API
refresh

Get a fresh copy from the server
with-context-manager

Context manager's "with" method
skipMissingCategories

Handle missing categories in CrunchCube
pendingStream

Get the pending streams for a dataset
logout

Kill the active Crunch session
serialPaste

Make a prose list
unshare

Revoke a user's access to a dataset
pk

Get and set the primary key for a Crunch dataset
makeWeight

Generate a weight variable
translateCubeIndex

Translate user facing cube subset to programmatic cube subset
owners

See who owns these datasets
translateHidden

Translate provided index to an index which accounts for hidden categories.
urls,ShojiCatalog-method

Get the URLs contained in a Catalog or Order object
table

Table function for Crunch objects
write.csv.gz

Write CSV to a compressed file
shojiURL

Get a resource URL from a Shoji Object
reassignUser

Reassign all Crunch objects from a user
users

Get information about users who have access to a dataset
setCrunchAPI

Change which server to point to
flipArrays

Rearrange array subvariables
team

Share Crunch assets with a team
which

"which" method for CrunchLogicalExpr
session-extract

Extract catalogs from a Session object
variableMetadata

Get all variable metadata for a dataset
type

Change Crunch variable types
entity

Methods for ShojiTuples
shojifyDatasetMetadata

Wrap variable metadata inside a dataset entity
folder

Find and move entities to a new folder
na.omit

Omit missing categories
tokenAuth

Add an auth token manually
email

Extract the email from a User Entity
makeCaseVariable

Make a case variable
rowDistinct

Create variables useful for determining whether a row's values are suspicious
tojson-crunch

toJSON methods for Crunch objects
validateNamesInDims

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

Access a catalog of variables
slides

Access the slides of a CrunchDeck
palettes

Get the palettes from a crunch object
toVariable

Generic method for converting objects to Crunch representations
temp.options

Set some global options temporarily
setOrder

Change the order of entities in folder
streamRows

Stream data to a Crunch dataset
is.weight<-

Dataset weights
weightVariables

Get a dataset's weightVariables