Learn R Programming

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

crunch (version 1.25.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.25.0

License

LGPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Neal Richardson

Last Published

January 10th, 2019

Functions in crunch (1.25.0)

addSubvariable

Add subvariable to an array
SummaryStat-class

Summary insertions
VariableOrder-class

Organize Variables within a Dataset
Transforms-class

Transformations of variable and cube views
consent

Give consent to do things that require permission
copyOrder

Copy the variable order from one dataset to another.
addGeoMetadata

Add geodata metadata to a crunch variable
grouped

Get grouped or ungrouped OrderGroups
crunch_user_agent

Generate or extend the User-Agent string
makeInsertion

Convert a child class of Insertion into a proper Insertion
ShojiOrder-slots

Manipulate VariableGroup and VariableOrder
batches

See the appended batches of this dataset
VariableCatalog-class

Collection of Variables within a Dataset
Insertions-class

Insert categories in transformations
collapseCategories

Combine Categories in place
SO_survey

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

Delete a Crunch object from the server
Subtotal-class

Subtotals and headings
addSummaryStat

Add summary statistics to a CrunchCube
$,ShojiEntity-method

Methods for ShojiTuples
describe

Name, alias, and description for Crunch objects
crunch-uni

Univariate statistics on Crunch objects
crunch

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

Construct a variable definition
loadDataset

Load a Crunch Dataset
derivations

Get or set a derived variable's expression
appendDataset

Append one Crunch dataset to another
appendStream

Manually trigger a pending append to a dataset
makeMRFromText

Create Multiple Response Variable from Delimited lists
subtotalArray,CrunchCube-method

Calculate the transforms from a CrunchCube
ShojiObject-class

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

Dataset dimensions
applyAgainst

apply a function against a dimension
changeCategoryID

Change the id of a category for a categorical variable
noTransforms

Remove transformations from a CrunchCube
ShojiOrder-extract

Extract and update in VariableOrders and VariableGroups
compareDatasets

Compare two datasets to see how they will append
createDataset

Create an empty dataset
addVariables

Add multiple variables to a dataset
availableGeodataFeatures

Get the property features for available geographies
prop.table,CrunchCube-method

Work with CrunchCubes, MultitableResults, and TabBookResults
collapse_dims

Collapse an array from a CrunchCube by summing
calcInsertions

Given a vector of values and elements, calculate the insertions
Subvariables-class

Subvariables in Array Variables
deleteDataset

Delete a dataset from the dataset list
is.archived,DatasetCatalog-method

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

Change to different folder
dichotomize

Indicate how categories represent a dichotomized value
buildDelimRegex

Build Regex to find delimited items.
copyOrderGroup

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

Calculate transforms for an array
c-categories

S3 method to concatenate Categories and Category objects
as.environment,CrunchDataset-method

as.environment method for CrunchDataset
analyses

Get and set slide analyses
$,AbstractCategory-method

Access Category fields directly
check_margins

Check validity of margins
projects

Get the project catalog
expressions

Construct Crunch Expressions
catalog-dataframes

as.data.frame method for catalog objects
is.TRUEorFALSE

Check that a value is TRUE or FALSE
flipArrays

Rearrange array subvariables
checkInstalledPackages

Check if a user has packages installed
dataset-owner

Get and set the owner of a dataset
pendingStream

Get the pending streams for a dataset
is-na-categories

is.na for Categories
crunchAPI

Main Crunch API handling function
exportDeck

Export a Crunch Deck
setOrder

Change the order of entities in folder
cleanseBatches

Remove batches from a dataset
expropriateUser

Expropriate all Crunch objects from a user
is.dataset

Test whether a Crunch object belongs to a class
owners

See who owns these datasets
dataset-to-R

as.data.frame method for CrunchDataset
cube-methods

Methods on Cube objects
cube-residuals

Calculate standardized residuals from a CrunchCube
catalog-extract

Extract and modify subsets of Catalog-type objects
deleteSubvariables

Delete subvariables from an array
crunchBox

Make a CrunchBox
generateWeightEntry

dimension-comparison-pairwise

Pairwise column and row comparison
length,CrunchDeck-method

Length of Catalog
categoriesFromLevels

Convert a factor's levels into Crunch categories.
exclusion

View and set exclusion filters
makeCaseVariable

Make a case variable
dashboard

View or set a dashboard URL
unshare

Revoke a user's access to a dataset
flattenOrder

Remove nesting of groups within an order/group
name,AbstractCategory-method

Category attributes
logout

Kill the active Crunch session
tabbook-methods

TabBookResult and MultitableResult methods
crtabs

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

Get dimension type
makeWeight

Generate a weight variable
catalogToDataFrame

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

Create subvariable derivation expressions
copyVariable

Copy a variable
createWithMetadataAndFile

Make a dataset with metadata and a CSV
dataset-update

Update a variable or variables in a dataset
combine

Combine categories or responses
hiddenVariables

Show the names of a dataset's hidden variables
ordering

Get and set VariableOrder
CrunchGeography-class

Geography properties for crunch variables
hide

Hide and Unhide Variables
searchDatasets

Search Crunch for datasets.
serialPaste

Make a prose list
crunch-cut

Cut a numeric Crunch variable
hideVariables

Hide and unhide variables within a dataset
importMultitable

Import a Multitable
conditionalTransform

Conditional transformation
createWithPreparedData

Upload a prepared data.frame with metadata to Crunch
interactVariables

Create a variable by interacting categorical variables
makeArrayGadget

Array builder
envOrOption

Grab either env variable or option
margin-translation

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

"duplicated" method for Crunch objects
tabBook

Compute a Tab Book
crunch-summary

Summary methods for Crunch Variables
datasetReference

Get a Crunch object's dataset
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
folder

Find and move entities to a new folder
lock

Lock and unlock a dataset for editing
filter-catalog

Get or set a dataset's filters
cube-missingness

Modify cube missing behavior
grabRowInd

grab row indicators for subsetting crdfs
deleteVariables

Delete Variables Within a Dataset
subvars-extract

Extract and modify subsets of subvariables
unbind

Split an array or multiple-response variable into its CategoricalVariables
index.table

Calculate an index table for a CrunchCube
table

Table function for Crunch objects
titles

Manipulate deck titles
dataset-extract

Subset datasets and extract variables
pollProgress

Check a Crunch progress URL until it finishes
datasets

Get the dataset catalog
newMultitable

Create a new Multitable
dropRows

Permanently delete rows from a dataset
population

Get and set the market size for Crunch datasets
variable-as-methods

as.* methods for variables
showTransforms,CrunchCube-method

Show transformations on a Crunch object
decks

Get a dataset's DeckCatalog
modifyWeightVariables

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

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

Reorder slides in a CrunchDeck
session

Get various catalogs for your Crunch session
dimension-comparison

Column and row comparison
displaySettings

Get or set a slide's display settings
exportDataset

Export a dataset to a file
permissions

See who has access to a dataset
merge

Merge a CrunchDataFrame
dimSums

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

Validate case statements for case variables
refresh

Get a fresh copy from the server
show,DeckCatalog-method

Show methods for Crunch objects
names,BatchCatalog-method

Get and set names, aliases on Catalog-type objects
newDataset

Upload data to Crunch to make a new dataset
replaceMissingWithTRUE

Replace missing elements with TRUE
newDatasetByColumn

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

Read and set edit privileges
shoji-index

Get the body of a Catalog
login

Authenticate with the Crunch API
joinDatasets

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

Get or set a project's icon
embedCrunchBox

Get HTML for embedding a CrunchBox
newFilter

Create a new filter
removeEmptyGroups

Remove OrderGroups with no entities
session-extract

Extract catalogs from a Session object
which

"which" method for CrunchLogicalExpr
fortify

Fortify crunch objects for use with ggplot
makeInteractions

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

Generate Labels for the cut function
temp.options

Set some global options temporarily
escapeRegex

Escape a regular expression
getTeams

Retrieve your teams
shojifyDatasetMetadata

Wrap variable metadata inside a dataset entity
variable-update

Update variables with expressions or values
getAccountUserCatalog

Find all users on your account
listDatasetGadget

Open dataset selector
makeMarginMap

Make a map of margins
mergeFork

Merge changes to a dataset from a fork
translateCubeIndex

Translate user facing cube subset to programmatic cube subset
type

Change Crunch variable types
grabColNames

grab column names for subsetting crdfs
newProject

Create a new project
pk

Get and set the primary key for a Crunch dataset
na-omit-categories

Omit missing categories
self

Get the URL of this object
replaceCharWithNumeric

Transform character vectors into indices
resetPassword

Reset your password
http-methods

HTTP methods for communicating with the Crunch API
subtypeInsertion

Convert from Insertion to Insertion subtypes
shojiURL

Get a resource URL from a Shoji Object
write.csv.gz

Write CSV to a compressed file
is.public,CrunchDeck-method

View and modify "public" attribute
hasFunction

Check if a package has a function installed
validateNamesInDims

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

Create a fork of a dataset
makeArray

Make a Categorical Array or Multiple Response variable
as.vector,CrunchExpr-method

Convert Variables to local R objects
variableMetadata

Get all variable metadata for a dataset
email

Extract the email from a User Entity
share

Share a dataset
users

Get information about users who have access to a dataset
handleAPIresponse

Do the right thing with the HTTP response
matchCatToFeat

Match categories with features from geodata
tokenAuth

Add an auth token as a cookie manually
writePreparedData

Persist to disk a prepared data.frame and metadata
is-selected-categories

is.selected for Categories
multitable-catalog

Multitable entities for a dataset
newDatasetFromFile

Upload a file to Crunch to make a new dataset
preCrunchBoxCheck

Check if a dataset will make a good CrunchBox
listDatasets

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

Append a new slide to a Crunch Deck
mv

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

Create an empty Crunch Deck
toVariable

Generic method for converting objects to Crunch representations
me

My user entity
setName

Change the name of the current folder
versions

Access the saved versions of a dataset
variables

Access a catalog of variables
saveVersion

Create a new saved version
scoreCatToFeat

Score similarity between a feature dataframe and categories
settings

View and modify dataset-level settings
prepareDataForCrunch

Translate a data.frame to Crunch format
urls,ShojiCatalog-method

Get the URLs contained in a Catalog or Order object
notifyIfNewVersion

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

Change which server to point to
streamRows

Stream data to a Crunch dataset
tojson-crunch

toJSON methods for Crunch objects
var-categories

Get and set Categories on Variables
restoreVersion

Restore a dataset to a previously saved version
setEntitySlot

Base setter for Crunch objects
slides

Access the slides of a CrunchDeck
set_crunch_config

Set or modify general Crunch API request configuration
webApp

View a Crunch Object in the Web Application
team

Share Crunch assets with a team
skipMissingCategories

Handle missing categories in CrunchCube
rmdir

Delete a folder
weightVariables

Get a dataset's weightVariables
streaming

Set the streaming property of a dataset
setNames

Change the name of the entities in a catalog
members<-,CrunchTeam,MemberCatalog-method

Teams
with-context-manager

Context manager's "with" method
weight

Dataset weights
[,CrunchExpr,CrunchLogicalExpr,ANY-method

"Subset" a Variable
AbstractCategories-class

Abstract categories
Categories-class

Categories in CategoricalVariables
ContextManager

Context managers
CrunchDataFrame

CrunchDataFrame
DatasetOrder-class

Organize Datasets
SO_schema

Schema for the 2017 Stack Overflow developer survey
CrunchDataset-class

Crunch Datasets
CrunchVariable-class

Variables in Crunch
ShojiOrder-length

Length of an Order