Learn R Programming

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

crunch (version 1.20.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.20.0

License

LGPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Neal Richardson

Last Published

February 2nd, 2018

Functions in crunch (1.20.0)

c-categories

S3 method to concatenate Categories and Category objects
addVariables

Add multiple variables to a dataset
appendDataset

Append one Crunch dataset to another
is.archived,DatasetCatalog-method

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

Get the property features for available geographies
Subtotal-class

Subtotals and headings
batches

See the appended batches of this dataset
catalog-dataframes

as.data.frame method for catalog objects
Subvariables-class

Subvariables in Array Variables
calcTransforms

Calculate transforms for an array
createDataset

Create an empty dataset
dataset-variables

Access a Dataset's Variables Catalog
consent

Give consent to do things that require permission
$,AbstractCategory-method

Access Category fields directly
dataset-update

Update a variable or variables in a dataset
copyOrder

Copy the variable order from one dataset to another.
cube-computing

Work with CrunchCubes, MultitableResults, and TabBookResults
changeCategoryID

Change the id of a category for a categorical variable
crunchBox

Make a CrunchBox
createWithMetadataAndFile

Make a dataset with metadata and a CSV
as.environment,CrunchDataset-method

as.environment method for CrunchDataset
appendStream

Manually trigger a pending append to a dataset
catalogToDataFrame

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

Delete subvariables from an array
embedCrunchBox

Get HTML for embedding a CrunchBox
deleteVariables

Delete Variables Within a Dataset
crunch-cut

Cut a numeric Crunch variable
flattenOrder

Remove nesting of groups within an order/group
ensureValidCase

Validate case statements for case variables
categoriesFromLevels

Convert a factor's levels into Crunch categories.
is.dataset

Test whether a Crunch object belongs to a class
calcInsertions

Given a vector of values and elements, calculate the insertions
is-na-categories

is.na for Categories
dataset-owner

Get and set the owner of a dataset
is-public

View and modify "public" attribute
hideVariables

Hide and unhide variables within a dataset
flipArrays

Rearrange array subvariables
http-methods

HTTP methods for communicating with the Crunch API
dataset-to-R

as.data.frame method for CrunchDataset
derivations

Get or set a derived variable's expression
collapseCategories

Combine Categories in place
names,BatchCatalog-method

Get and set names, aliases on Catalog-type objects
subtotalArray,CrunchCube-method

Calculate the transforms from a CrunchCube
expropriateUser

Expropriate all Crunch objects from a user
makeWeight

Generate a weight variable
matchCatToFeat

Match categories with features from geodata
combine

Combine categories or responses
checkForNewVersion

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

Crunch.io: instant, visual, collaborative data analysis
filter-catalog

Get or set a dataset's filters
catalog-extract

Extract and modify subsets of Catalog-type objects
cleanseBatches

Remove batches from a dataset
fortify

Fortify crunch objects for use with ggplot
na-omit-categories

Omit missing categories
importMultitable

Import a Multitable
copyOrderGroup

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

Functions to manipulate variables' folder structure
catalog-length

Length of Catalog
generateCutLabels

Generate Labels for the cut function
interactVariables

Create a variable by interacting categorical variables
copyVariable

Copy a variable
crunch-uni

Univariate statistics on Crunch objects
is-selected-categories

is.selected for Categories
compareDatasets

Compare two datasets to see how they will append
crunch-summary

Summary methods for Crunch Variables
crunchAPI

Main Crunch API handling function
datasets

Get the dataset catalog
conditionalTransform

Conditional transformation
dedupeOrder

Remove duplicated entities from an order/group
createWithPreparedData

Upload a prepared data.frame with metadata to Crunch
makeArray

Make a Categorical Array or Multiple Response variable
owners

See who owns these datasets
is.TRUEorFALSE

Check that a value is TRUE or FALSE
delete

Delete a Crunch object from the server
makeCaseVariable

Make a case variable
deleteDataset

Delete a dataset from the dataset list
newDataset

Upload data to Crunch to make a new dataset
newDatasetByColumn

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

Remove transformations from a CrunchCube
dashboard

View or set a dashboard URL
dropRows

Permanently delete rows from a dataset
pendingStream

Get the pending streams for a dataset
dataset-extract

Subset datasets and extract variables
cube-methods

Methods on Cube objects
crtabs

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

Find all users on your account
getTeams

Retrieve your teams
duplicated

"duplicated" method for Crunch objects
saveVersion

Create a new saved version
name,AbstractCategory-method

Category attributes
grouped

Get grouped or ungrouped OrderGroups
scoreCatToFeat

Score similarity between a feature dataframe and categories
ordering

Get and set VariableOrder
handleAPIresponse

Do the right thing with the HTTP response
locateEntity

Find an entity in an order object
describe

Name, alias, and description for Crunch objects
CrunchGeography-class

Geography properties for crunch variables
exclusion

View and set exclusion filters
envOrOption

Grab either env variable or option
generateWeightEntry

cube-residuals

Calculate standardized residuals from a CrunchCube
shoji-index

Get the body of a Catalog
lock

Lock and unlock a dataset for editing
login

Authenticate with the Crunch API
logout

Kill the active Crunch session
grabColNames

grab column names for subsetting crdfs
dichotomize

Indicate how categories represent a dichotomized value
project-icon

Get or set a project's icon
listDatasets

Show the names of all Crunch datasets associated with a catalog
dim-dataset

Dataset dimensions
grabRowInd

grab row indicators for subsetting crdfs
moveToGroup

Move entities to a group
multitable-catalog

Multitable entities for a dataset
showTransforms,CrunchCube-method

Show transformations on a Crunch object
shojiURL

Get a resource URL from a Shoji Object
projects

Get the project catalog
serialPaste

Make a prose list
exportDataset

Export a dataset to a file
expressions

Construct Crunch Expressions
loadDataset

Load a Crunch Dataset
merge

Merge a CrunchDataFrame
mergeFork

Merge changes to a dataset from a fork
me

My user entity
streamRows

Stream data to a Crunch dataset
temp.options

Set some global options temporarily
folder

Find and move variables to a new folder
preCrunchBoxCheck

Check if a dataset will make a good CrunchBox
modifyWeightVariables

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

Generic method for converting objects to Crunch representations
forkDataset

Create a fork of a dataset
hiddenVariables

Show the names of a dataset's hidden variables
prepareDataForCrunch

Translate a data.frame to Crunch format
webApp

View a Dataset in the Web Application
permissions

See who has access to a dataset
pk

Get and set the primary key for a Crunch dataset
weight

Dataset weights
session-extract

Extract catalogs from a Session object
table

Table function for Crunch objects
resetPassword

Reset your password
searchDatasets

Search Crunch for datasets.
self

Get the URL of this object
hide

Hide and Unhide Variables
is.editor

Read and set edit privileges
unbind

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

Revoke a user's access to a dataset
tabbook-methods

TabBookResult and MultitableResult methods
tabBook

Compute a Tab Book
joinDatasets

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

Restore a dataset to a previously saved version
setEntitySlot

Base setter for Crunch objects
setCrunchAPI

Change which server to point to
settings

View and modify dataset-level settings
makeInsertion

Convert a child class of Insertion into a proper Insertion
share

Share a dataset
subtypeInsertion

Convert from Insertion to Insertion subtypes
variableMetadata

Get all variable metadata for a dataset
makeInteractions

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

Upload a file to Crunch to make a new dataset
newFilter

Create a new filter
newMultitable

Create a new Multitable
members<-,CrunchTeam,MemberCatalog-method

Teams
tojson-crunch

toJSON methods for Crunch objects
subvars-extract

Extract and modify subsets of subvariables
tokenAuth

Add an auth token as a cookie manually
weightVariables

Get a dataset's weightVariables
entity,CrunchProject-method

Methods for ShojiTuples
newProject

Create a new project
refresh

Get a fresh copy from the server
which

"which" method for CrunchLogicalExpr
type

Change Crunch variable types
removeEmptyGroups

Remove OrderGroups with no entities
as.vector,CrunchExpr-method

Convert Variables to local R objects
versions

Access the saved versions of a dataset
variable-update

Update variables with expressions or values
session

Get various catalogs for your Crunch session
with-context-manager

Context manager's "with" method
session_store

Stay authenticated.
write.csv.gz

Write CSV to a compressed file
show-crunch

Show methods for Crunch objects
shojifyDatasetMetadata

Wrap variable metadata inside a dataset entity
urls,ShojiCatalog-method

Get the URLs contained in a Catalog or Order object
updateDatasetList

Refresh the local list of Crunch datasets
var-categories

Get and set Categories on Variables
[,CrunchExpr,CrunchLogicalExpr,ANY-method

"Subset" a Variable
writePreparedData

Persist to disk a prepared data.frame and metadata
ShojiObject-class

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

Extract and update in VariableOrders and VariableGroups
Insertions-class

Insert categories in transformations
CrunchDataFrame

CrunchDataFrame
ContextManager

Context managers
DatasetOrder-class

Organize Datasets
CrunchVariable-class

Variables in Crunch
CrunchDataset-class

Crunch Datasets
Transforms-class

Transformations of variable and cube views
Categories-class

Categories in CategoricalVariables
AbstractCategories-class

Abstract categories
VariableDefinition

Construct a variable definition
ShojiOrder-length

Length of an Order
VariableCatalog-class

Collection of Variables within a Dataset
addGeoMetadata

Add geodata metadata to a crunch variable
VariableOrder-class

Organize Variables within a Dataset
addSubvariable

Add subvariable to an array
ShojiOrder-slots

Manipulate VariableGroup and VariableOrder