Learn R Programming

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

crunch (version 1.26.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.26.1

License

LGPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Mike Malecki

Last Published

June 7th, 2019

Functions in crunch (1.26.1)

ShojiObject-class

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

Construct a variable definition
VariableCatalog-class

Collection of Variables within a Dataset
Transforms-class

Transformations of variable and cube views
SummaryStat-class

Summary insertions
archive-and-publish

Get and set "archived" and "published" status of a dataset
Insertions-class

Insert categories in transformations
as-vector

Convert Variables to local R objects
calcInsertions

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

S3 method to concatenate Categories and Category objects
compareDatasets

Compare two datasets to see how they will append
Subvariables-class

Subvariables in Array Variables
Subtotal-class

Subtotals and headings
subtotalArray,CrunchCube-method

Calculate the transforms from a CrunchCube
applyAgainst

apply a function against a dimension
addSubvariable

Add subvariable to an array
addSummaryStat

Add summary statistics to a CrunchCube
cleanseBatches

Remove batches from a dataset
as.environment,CrunchDataset-method

as.environment method for CrunchDataset
categoriesFromLevels

Convert a factor's levels into Crunch categories.
catalogToDataFrame

A utility to return a data.frame from a ShojiCatalog.
VariableOrder-class

Organize Variables within a Dataset
check_margins

Check validity of margins
crunch-cut

Cut a numeric Crunch variable
checkInstalledPackages

Check if a user has packages installed
crtabs

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

Get the property features for available geographies
conditionalTransform

Conditional transformation
createWithMetadataAndFile

Make a dataset with metadata and a CSV
collapseCategories

Combine Categories in place
createDataset

Create an empty dataset
createSubvarDeriv

Create subvariable derivation expressions
consent

Give consent to do things that require permission
crunch-extract

Extract and modify Crunch objects
copyOrder

Copy the variable order from one dataset to another.
crunch-summary

Summary methods for Crunch Variables
datasetReference

Get a Crunch object's dataset URL
crunch-uni

Univariate statistics on Crunch objects
dichotomize

Indicate how categories represent a dichotomized value
dataset-to-R

as.data.frame method for CrunchDataset
dim-dataset

Dataset dimensions
generateWeightEntry

dimension-comparison

Column and row comparison
displaySettings

Get or set a slide's display settings
addGeoMetadata

Add geodata metadata to a crunch variable
ShojiOrder-slots

Manipulate VariableGroup and VariableOrder
hideVariables

Hide and unhide variables within a dataset
CrunchGeography-class

Geography properties for crunch variables
http-methods

HTTP methods for communicating with the Crunch API
addVariables

Add multiple variables to a dataset
createWithPreparedData

Upload a prepared data.frame with metadata to Crunch
dataset-owner

Get and set the owner of a dataset
exclusion

View and set exclusion filters
dashboard

View or set a dashboard URL
analyses

Get and set slide analyses
crunchBox

Make a CrunchBox
appendDataset

Append one Crunch dataset to another
is.dataset

Test whether a Crunch object belongs to a class
flattenOrder

Remove nesting of groups within an order/group
exportDataset

Export a dataset to a file
flipArrays

Rearrange array subvariables
appendStream

Manually trigger a pending append to a dataset
listDatasetGadget

Open dataset selector
makeMRFromText

Create Multiple Response Variable from Delimited lists
length

Length of Crunch objects
makeMarginMap

Make a map of margins
is-public

View and modify the "public" attribute of artifacts
batches

See the appended batches of this dataset
is.TRUEorFALSE

Check that a value is TRUE or FALSE
catalog-dataframes

as.data.frame method for catalog objects
calcTransforms

Calculate transforms for an array
matchCatToFeat

Match categories with features from geodata
crunch_user_agent

Generate or extend the User-Agent string
cube-residuals

Calculate standardized residuals from a CrunchCube
cube-missingness

Modify cube missing behavior
newDataset

Upload data to Crunch to make a new dataset
me

My user entity
newSlide

Append a new slide to a Crunch Deck
newDatasetByColumn

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

Collapse an array from a CrunchCube by summing
notifyIfNewVersion

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

Build Regex to find delimited items.
noTransforms

Remove transformations from a CrunchCube
combine

Combine categories or responses
aliases

Get and set names, aliases on Catalog-type objects
describe-entity

Name, alias, and description for Crunch objects
copyOrderGroup

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

Permanently delete rows from a dataset
copyVariable

Copy a variable
projects

Get the project catalog
cd

Change to different folder
refresh

Get a fresh copy from the server
decks

Get a dataset's DeckCatalog
dimension-comparison-pairwise

Pairwise column and row comparison
dimSums

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

Delete a Crunch object from the server
expropriateUser

Expropriate all Crunch objects from a user
duplicated

"duplicated" method for Crunch objects
changeCategoryID

Change the id of a category for a categorical variable
expressions

Construct Crunch Expressions
exportDeck

Export a Crunch Deck
cube-computing

Work with CrunchCubes, MultitableResults, and TabBookResults
grabRowInd

grab row indicators for subsetting crdfs
filter-catalog

Get or set a dataset's filters
hiddenVariables

Show the names of a dataset's hidden variables
grouped

Get grouped or ungrouped OrderGroups
removeEmptyGroups

Remove OrderGroups with no entities
hide

Hide and Unhide Variables
cube-methods

Methods on Cube objects
makeArray

Make a Categorical Array or Multiple Response variable
logout

Kill the active Crunch session
makeArrayGadget

Array builder
crunch

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

Base setter for Crunch objects
reorderSlides

Reorder slides in a CrunchDeck
show

Show methods for Crunch objects
showTransforms

Show transformations on a Crunch object
setName

Change the name of the current folder
crunchAPI

Main Crunch API handling function
titles

Manipulate deck titles
deleteDataset

Delete a dataset from the dataset list
datasets

Get a catalog of datasets
deleteSubvariables

Delete subvariables from an array
translateHidden

Translate provided index to an index which accounts for hidden categories.
derivations

Get or set a derived variable's expression
deleteVariables

Delete Variables Within a Dataset
envOrOption

Grab either env variable or option
escapeRegex

Escape a regular expression
makeCaseVariable

Make a case variable
fortify

Fortify crunch objects for use with ggplot
mv

Functions to manipulate variables' or project's folder structure
na-omit-categories

Omit missing categories
ordering

Get and set VariableOrder
generateCutLabels

Generate Labels for the cut function
getTeams

Retrieve your teams
writePreparedData

Persist to disk a prepared data.frame and metadata
webApp

View a Crunch Object in the Web Application
weight

Dataset weights
$,ShojiEntity-method

Methods for ShojiTuples
prepareDataForCrunch

Translate a data.frame to Crunch format
project-icon

Get or set a project's icon
resetPassword

Reset your password
listDatasets

Get the names of datasets in a project
grabColNames

grab column names for subsetting crdfs
resolution

Methods for Datetime variable resolutions
embedCrunchBox

Get HTML for embedding a CrunchBox
session-extract

Extract catalogs from a Session object
serialPaste

Make a prose list
toVariable

Generic method for converting objects to Crunch representations
replaceCharWithNumeric

Transform character vectors into indices
lock

Lock and unlock a dataset for editing
hasFunction

Check if a package has a function installed
is-na-categories

is.na for Categories
handleAPIresponse

Do the right thing with the HTTP response
interactVariables

Create a variable by interacting categorical variables
login

Authenticate with the Crunch API
ensureValidCase

Validate case statements for case variables
folder

Find and move entities to a new folder
forkDataset

Create a fork of a dataset
makeInsertion

Convert a child class of Insertion into a proper Insertion
replaceMissingWithTRUE

Replace missing elements with TRUE
shojifyDatasetMetadata

Wrap variable metadata inside a dataset entity
session

Get various catalogs for your Crunch session
getAccountUserCatalog

Find all users on your account
shojiURL

Get a resource URL from a Shoji Object
setCrunchAPI

Change which server to point to
tojson-crunch

toJSON methods for Crunch objects
unshare

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

TabBookResult and MultitableResult dimension
getDimTypes

Get dimension type
type

Change Crunch variable types
weightVariables

Get a dataset's weightVariables
unbind

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

"which" method for CrunchLogicalExpr
table

Table function for Crunch objects
loadDataset

Load a Crunch Dataset
makeInteractions

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

Manage access to datasets and other objects
urls,ShojiCatalog-method

Get the URLs contained in a Catalog or Order object
variables

Access a catalog of variables
merge

Merge a CrunchDataFrame
preCrunchBoxCheck

Check if a dataset will make a good CrunchBox
rmdir

Delete a folder
newDeck

Create an empty Crunch Deck
population

Get and set the market size for Crunch datasets
newDatasetFromFile

Upload a file to Crunch to make a new dataset
restoreVersion

Restore a dataset to a previously saved version
set_crunch_config

Set or modify general Crunch API request configuration
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
versions

Access the saved versions of a dataset
multitable-catalog

Multitable entities for a dataset
joinDatasets

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

Calculate an index table for a CrunchCube
importMultitable

Import a Multitable
is.editor

Read and set edit privileges
makeWeight

Generate a weight variable
margin-translation

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

Merge changes to a dataset from a fork
newMultitable

Create a new Multitable
pk

Get and set the primary key for a Crunch dataset
newProject

Create a new project
modifyWeightVariables

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

View and modify dataset-level settings
subtypeInsertion

Convert from Insertion to Insertion subtypes
tabBook

Compute a Tab Book
validateNamesInDims

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

Get information about users who have access to a dataset
var-categories

Get and set Categories on Variables
email

Extract the email from a User Entity
pollProgress

Check a Crunch progress URL until it finishes
searchDatasets

Search Crunch for datasets.
self

Get the URL of this object
newExampleDataset

Import a fixture dataset for testing
newFilter

Create a new filter
pendingStream

Get the pending streams for a dataset
owners

See who owns these datasets
saveVersion

Create a new saved version
streamRows

Stream data to a Crunch dataset
streaming

Set the streaming property of a dataset
skipMissingCategories

Handle missing categories in CrunchCube
slides

Access the slides of a CrunchDeck
variable-as-methods

as.* methods for variables
tokenAuth

Add an auth token as a cookie manually
translateCubeIndex

Translate user facing cube subset to programmatic cube subset
scoreCatToFeat

Score similarity between a feature dataframe and categories
variableMetadata

Get all variable metadata for a dataset
setNames

Change the name of the entities in a catalog
setOrder

Change the order of entities in folder
share

Share a dataset
shoji-index

Get the body of a Catalog
temp.options

Set some global options temporarily
team

Share Crunch assets with a team
with-context-manager

Context manager's "with" method
write.csv.gz

Write CSV to a compressed file
Categories-class

Categories in CategoricalVariables
CrunchDataset-class

Crunch Datasets
CrunchVariable-class

Variables in Crunch
ContextManager

Context managers
DatasetOrder-class

Organize Datasets
AbstractCategories-class

Abstract categories
SO_schema

Schema for the 2017 Stack Overflow developer survey
CrunchDataFrame

CrunchDataFrame
SO_survey

R users who responded to the 2017 Stack Overflow developer survey