Learn R Programming

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

crunch (version 1.24.0)

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

1,050

Version

1.24.0

License

LGPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Neal Richardson

Last Published

September 12th, 2018

Functions in crunch (1.24.0)

addVariables

Add multiple variables to a dataset
crunch-cut

Cut a numeric Crunch variable
expressions

Construct Crunch Expressions
SO_survey

R users who responded to the 2017 Stack Overflow developer survey
makeMarginMap

Make a map of margins
expropriateUser

Expropriate all Crunch objects from a user
conditionalTransform

Conditional transformation
subtotalArray,CrunchCube-method

Calculate the transforms from a CrunchCube
catalog-extract

Extract and modify subsets of Catalog-type objects
ShojiOrder-slots

Manipulate VariableGroup and VariableOrder
noTransforms

Remove transformations from a CrunchCube
appendDataset

Append one Crunch dataset to another
index.table

Calculate an index table for a CrunchCube
cleanseBatches

Remove batches from a dataset
VariableCatalog-class

Collection of Variables within a Dataset
dedupeOrder

Remove duplicated entities from an order/group
hide

Hide and Unhide Variables
ContextManager

Context managers
embedCrunchBox

Get HTML for embedding a CrunchBox
catalog-length

Length of Catalog
ordering

Get and set VariableOrder
check_margins

Check validity of margins
resetPassword

Reset your password
type

Change Crunch variable types
appendStream

Manually trigger a pending append to a dataset
CrunchDataFrame

CrunchDataFrame
owners

See who owns these datasets
is.dataset

Test whether a Crunch object belongs to a class
SummaryStat-class

Summary insertions
Transforms-class

Transformations of variable and cube views
forkDataset

Create a fork of a dataset
addGeoMetadata

Add geodata metadata to a crunch variable
scoreCatToFeat

Score similarity between a feature dataframe and categories
envOrOption

Grab either env variable or option
$,AbstractCategory-method

Access Category fields directly
handleAPIresponse

Do the right thing with the HTTP response
derivations

Get or set a derived variable's expression
cube-residuals

Calculate standardized residuals from a CrunchCube
DatasetOrder-class

Organize Datasets
delete

Delete a Crunch object from the server
Insertions-class

Insert categories in transformations
ShojiObject-class

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

Copy a variable
makeArray

Make a Categorical Array or Multiple Response variable
dashboard

View or set a dashboard URL
VariableDefinition

Construct a variable definition
ShojiOrder-extract

Extract and update in VariableOrders and VariableGroups
ensureValidCase

Validate case statements for case variables
fortify

Fortify crunch objects for use with ggplot
c-categories

S3 method to concatenate Categories and Category objects
addSubvariable

Add subvariable to an array
applyAgainst

apply a function against a dimension
addSummaryStat

Add summary statistics to a CrunchCube
grouped

Get grouped or ungrouped OrderGroups
merge

Merge a CrunchDataFrame
interactVariables

Create a variable by interacting categorical variables
setName

Change the name of the current folder
pendingStream

Get the pending streams for a dataset
calcTransforms

Calculate transforms for an array
makeMRFromText

Create Multiple Response Variable from Delimited lists
logout

Kill the active Crunch session
availableGeodataFeatures

Get the property features for available geographies
Categories-class

Categories in CategoricalVariables
batches

See the appended batches of this dataset
cube-missingness

Modify cube missing behavior
ShojiOrder-length

Length of an Order
consent

Give consent to do things that require permission
AbstractCategories-class

Abstract categories
as.vector,CrunchExpr-method

Convert Variables to local R objects
createSubvarDeriv

Create subvariable derivation expressions
CrunchDataset-class

Crunch Datasets
mergeFork

Merge changes to a dataset from a fork
calcInsertions

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

Get and set the primary key for a Crunch dataset
catalog-dataframes

as.data.frame method for catalog objects
collapseCategories

Combine Categories in place
createWithMetadataAndFile

Make a dataset with metadata and a CSV
escapeRegex

Escape a regular expression
describe

Name, alias, and description for Crunch objects
tabBook

Compute a Tab Book
variable-update

Update variables with expressions or values
deleteVariables

Delete Variables Within a Dataset
collapse_dims

Collapse an array from a CrunchCube by summing
copyOrder

Copy the variable order from one dataset to another.
SO_schema

Schema for the 2017 Stack Overflow developer survey
buildDelimRegex

Build Regex to find delimited items.
dichotomize

Indicate how categories represent a dichotomized value
Subtotal-class

Subtotals and headings
copyOrderGroup

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

Base setter for Crunch objects
loadDataset

Load a Crunch Dataset
project-icon

Get or set a project's icon
subvars-extract

Extract and modify subsets of subvariables
crunch

Crunch.io: instant, visual, collaborative data analysis
dataset-extract

Subset datasets and extract variables
crunchAPI

Main Crunch API handling function
filter-catalog

Get or set a dataset's filters
cube-methods

Methods on Cube objects
cd

Change to different folder
show,ShojiFolder-method

Show methods for Crunch objects
shojifyDatasetMetadata

Wrap variable metadata inside a dataset entity
VariableOrder-class

Organize Variables within a Dataset
crunch-summary

Summary methods for Crunch Variables
var-categories

Get and set Categories on Variables
dataset-owner

Get and set the owner of a dataset
dropRows

Permanently delete rows from a dataset
generateWeightEntry

duplicated

"duplicated" method for Crunch objects
hideVariables

Hide and unhide variables within a dataset
tokenAuth

Add an auth token as a cookie manually
flipArrays

Rearrange array subvariables
crunch-uni

Univariate statistics on Crunch objects
Subvariables-class

Subvariables in Array Variables
as.environment,CrunchDataset-method

as.environment method for CrunchDataset
modifyWeightVariables

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

Convert a factor's levels into Crunch categories.
pollProgress

Check a Crunch progress URL until it finishes
translateCubeIndex

Translate user facing cube subset to programmatic cube subset
folder

Find and move entities to a new folder
matchCatToFeat

Match categories with features from geodata
flattenOrder

Remove nesting of groups within an order/group
hasFunction

Check if a package has a function installed
hiddenVariables

Show the names of a dataset's hidden variables
multitable-catalog

Multitable entities for a dataset
is.archived,DatasetCatalog-method

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

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

Get dimension type
getTeams

Retrieve your teams
setCrunchAPI

Change which server to point to
locateEntity

Find an entity in an order object
createDataset

Create an empty dataset
notifyIfNewVersion

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

Update a variable or variables in a dataset
is-public

View and modify "public" attribute
generateCutLabels

Generate Labels for the cut function
makeArrayGadget

Array builder
is-selected-categories

is.selected for Categories
is.TRUEorFALSE

Check that a value is TRUE or FALSE
permissions

See who has access to a dataset
CrunchVariable-class

Variables in Crunch
is.editor

Read and set edit privileges
makeCaseVariable

Make a case variable
toVariable

Generic method for converting objects to Crunch representations
joinDatasets

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

HTTP methods for communicating with the Crunch API
combine

Combine categories or responses
datasets

Get the dataset catalog
makeWeight

Generate a weight variable
createWithPreparedData

Upload a prepared data.frame with metadata to Crunch
tojson-crunch

toJSON methods for Crunch objects
lock

Lock and unlock a dataset for editing
margin-translation

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

Import a Multitable
na-omit-categories

Omit missing categories
checkInstalledPackages

Check if a user has packages installed
crtabs

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

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

Compare two datasets to see how they will append
login

Authenticate with the Crunch API
unbind

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

My user entity
population

Get and set the market size for Crunch datasets
projects

Get the project catalog
changeCategoryID

Change the id of a category for a categorical variable
moveToGroup

Move entities to a group
deleteDataset

Delete a dataset from the dataset list
newDataset

Upload data to Crunch to make a new dataset
newFilter

Create a new filter
session

Get various catalogs for your Crunch session
newMultitable

Create a new Multitable
preCrunchBoxCheck

Check if a dataset will make a good CrunchBox
makeInteractions

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

Convert from Insertion to Insertion subtypes
versions

Access the saved versions of a dataset
exclusion

View and set exclusion filters
mv

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

Delete subvariables from an array
crunchBox

Make a CrunchBox
validateNamesInDims

error iff the names are not a dimension in the cube provided
names,BatchCatalog-method

Get and set names, aliases on Catalog-type objects
prop.table,CrunchCube-method

Work with CrunchCubes, MultitableResults, and TabBookResults
showTransforms,CrunchCube-method

Show transformations on a Crunch object
session-extract

Extract catalogs from a Session object
entity,CrunchProject-method

Methods for ShojiTuples
serialPaste

Make a prose list
prepareDataForCrunch

Translate a data.frame to Crunch format
members<-,CrunchTeam,MemberCatalog-method

Teams
dim-dataset

Dataset dimensions
[,CrunchExpr,CrunchLogicalExpr,ANY-method

"Subset" a Variable
restoreVersion

Restore a dataset to a previously saved version
rmdir

Delete a folder
is-na-categories

is.na for Categories
CrunchGeography-class

Geography properties for crunch variables
listDatasetGadget

Open dataset selector
setNames

Change the name of the entities in a catalog
grabColNames

grab column names for subsetting crdfs
temp.options

Set some global options temporarily
unshare

Revoke a user's access to a dataset
setOrder

Change the order of entities in folder
skipMissingCategories

Handle missing categories in CrunchCube
tabbook-methods

TabBookResult and MultitableResult methods
variable-as-methods

as.* methods for variables
datasetReference

Get a Crunch object's dataset
grabRowInd

grab row indicators for subsetting crdfs
table

Table function for Crunch objects
variableMetadata

Get all variable metadata for a dataset
dataset-to-R

as.data.frame method for CrunchDataset
saveVersion

Create a new saved version
getAccountUserCatalog

Find all users on your account
webApp

View a Crunch Object in the Web Application
name,AbstractCategory-method

Category attributes
exportDataset

Export a dataset to a file
newDatasetByColumn

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

Access a catalog of variables
with-context-manager

Context manager's "with" method
which

"which" method for CrunchLogicalExpr
makeInsertion

Convert a child class of Insertion into a proper Insertion
email

Extract the email from a User Entity
removeEmptyGroups

Remove OrderGroups with no entities
newProject

Create a new project
newDatasetFromFile

Upload a file to Crunch to make a new dataset
settings

View and modify dataset-level settings
self

Get the URL of this object
shoji-index

Get the body of a Catalog
listDatasets

Show the names of all Crunch datasets associated with a catalog
replaceMissingWithTRUE

Replace missing elements with TRUE
users

Get information about users who have access to a dataset
refresh

Get a fresh copy from the server
write.csv.gz

Write CSV to a compressed file
searchDatasets

Search Crunch for datasets.
streamRows

Stream data to a Crunch dataset
writePreparedData

Persist to disk a prepared data.frame and metadata
shojiURL

Get a resource URL from a Shoji Object
share

Share a dataset
updateDatasetList

Refresh the local list of Crunch datasets
urls,ShojiCatalog-method

Get the URLs contained in a Catalog or Order object
weightVariables

Get a dataset's weightVariables
weight

Dataset weights