Learn R Programming

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

crunch (version 1.26.3)

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.26.3

License

LGPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Greg Freedman Ellis

Last Published

March 12th, 2020

Functions in crunch (1.26.3)

compareDatasets

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

Cut a numeric Crunch variable
grouped

Get grouped or ungrouped OrderGroups
AbstractCategories-class

Abstract categories
Subvariables-class

Subvariables in Array Variables
catalog-dataframes

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

Categories in CategoricalVariables
appendStream

Manually trigger a pending append to a dataset
as.environment,CrunchDataset-method

as.environment method for CrunchDataset
Subtotal-class

Subtotals and headings
appendDataset

Append one Crunch dataset to another
SummaryStat-class

Summary insertions
CrunchDataset-class

Crunch Datasets
applyAgainst

apply a function against a dimension
is.VariableDefinition

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

Variables in Crunch
Transforms-class

Transformations of variable and cube views
addSubvariable

Add subvariable to an array
VariableDefinition

Construct a variable definition
consent

Give consent to do things that require permission
availableGeodataFeatures

Get the property features for available geographies
catalogToDataFrame

A utility to return a data.frame from a ShojiCatalog.
subtotalArray,CrunchCube-method

Calculate the transforms from a CrunchCube
copyOrder

Copy the variable order from one dataset to another.
calcTransforms

Calculate transforms for an array
crunch-summary

Summary methods for Crunch Variables
makeInteractions

Make case statements that define the interaction of two or more other variables
describe-entity

Name, alias, and description for Crunch objects
conditionalTransform

Conditional transformation
collapse_dims

Collapse an array from a CrunchCube by summing
ContextManager

Context managers
combine

Combine categories or responses
copyFolders

Copy the folder structure from one dataset to another.
titles

Manipulate deck titles
displaySettings

Get or set a slide's display settings
batches

See the appended batches of this dataset
dimension-comparison-pairwise

Pairwise column and row comparison
changeCategoryID

Change the id of a category for a categorical variable
addVariables

Add multiple variables to a dataset
archive-and-publish

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

Get a dataset's DeckCatalog
cd

Change to different folder
DatasetOrder-class

Organize Datasets
crunch-extract

Extract and modify Crunch objects
ShojiObject-class

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

Delete subvariables from an array
VariableOrder-class

Organize Variables within a Dataset
analyses

Get and set slide analyses
crunchBox

Make a CrunchBox
dropRows

Permanently delete rows from a dataset
dichotomize

Indicate how categories represent a dichotomized value
buildDelimRegex

Build Regex to find delimited items.
exportDeck

Export a Crunch Deck
checkInstalledPackages

Check if a user has packages installed
c-categories

S3 method to concatenate Categories and Category objects
VariableCatalog-class

Collection of Variables within a Dataset
Insertions-class

Insert categories in transformations
cube-residuals

Calculate standardized residuals from a CrunchCube
SO_survey

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

Schema for the 2017 Stack Overflow developer survey
dataset-owner

Get and set the owner of a dataset
addSummaryStat

Add summary statistics to a CrunchCube
CrunchDataFrame

CrunchDataFrame
cleanseBatches

Remove batches from a dataset
categoriesFromLevels

Convert a factor's levels into Crunch categories.
CrunchGeography-class

Geography properties for crunch variables
ShojiOrder-slots

Manipulate VariableGroup and VariableOrder
is.editor

Read and set edit privileges
dataset-to-R

as.data.frame method for CrunchDataset
as-vector

Convert Variables to local R objects
addGeoMetadata

Add geodata metadata to a crunch variable
check_margins

Check validity of margins
copyOrderGroup

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

Kill the active Crunch session
forkDataset

Create a fork of a dataset
deleteVariables

Delete Variables Within a Dataset
index.table

Calculate an index table for a CrunchCube
datasetReference

Get a Crunch object's dataset URL
calcInsertions

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

Get or set a derived variable's expression
createWithPreparedData

Upload a prepared data.frame with metadata to Crunch
modifyWeightVariables

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

Generic method for converting objects to Crunch representations
is-na-categories

is.na for Categories
exportDataset

Export a dataset to a file
envOrOption

Grab either env variable or option
dashboard

View or set a dashboard URL
ensureValidCase

Validate case statements for case variables
tojson-crunch

toJSON methods for Crunch objects
is-public

View and modify the "public" attribute of artifacts
makeCaseVariable

Make a case variable
setName

Change the name of the current folder
delete

Delete a Crunch object from the server
getAccountUserCatalog

Find all users on your account
expressions

Construct Crunch Expressions
login

Authenticate with the Crunch API
crtabs

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

Create subvariable derivation expressions
cube-computing

Work with CrunchCubes, MultitableResults, and TabBookResults
filter-catalog

Get or set a dataset's filters
getDimTypes

Get dimension type
crunchAPI

Main Crunch API handling function
crunch_user_agent

Generate or extend the User-Agent string
makeInsertion

Convert a child class of Insertion into a proper Insertion
datasets

Get a catalog of datasets
hide

Hide and Unhide Variables
crunch

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

Dataset dimensions
interactVariables

Create a variable by interacting categorical variables
crunch-uni

Univariate statistics on Crunch objects
fortify

Fortify crunch objects for use with ggplot
collapseCategories

Combine Categories in place
folder

Find and move entities to a new folder
escapeRegex

Escape a regular expression
resetPassword

Reset your password
joinDatasets

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

Get HTML for embedding a CrunchBox
copyVariable

Copy a variable
duplicated

"duplicated" method for Crunch objects
createWithMetadataAndFile

Make a dataset with metadata and a CSV
merge

Merge a CrunchDataFrame
flipArrays

Rearrange array subvariables
aliases

Get and set names, aliases on Catalog-type objects
margin-translation

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

Remove transformations from a CrunchCube
listDatasets

Get the names of datasets in a project
mergeFork

Merge changes to a dataset from a fork
subtypeInsertion

Convert from Insertion to Insertion subtypes
preCrunchBoxCheck

Check if a dataset will make a good CrunchBox
prepareDataForCrunch

Translate a data.frame to Crunch format
handleAPIresponse

Do the right thing with the HTTP response
getTeams

Retrieve your teams
createDataset

Create an empty dataset
is.TRUEorFALSE

Check that a value is TRUE or FALSE
self

Get the URL of this object
notifyIfNewVersion

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

Collapse an array from a CrunchCube by summing across dimensions to remove
http-methods

HTTP methods for communicating with the Crunch API
replaceMissingWithTRUE

Replace missing elements with TRUE
multitable-catalog

Multitable entities for a dataset
hasFunction

Check if a package has a function installed
dimension-comparison

Column and row comparison
newDatasetByColumn

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

Get the body of a Catalog
hiddenVariables

Show the names of a dataset's hidden variables
generateCutLabels

Generate Labels for the cut function
cube-methods

Methods on Cube objects
makeMRFromText

Create Multiple Response Variable from Delimited lists
listDatasetGadget

Open dataset selector
type

Change Crunch variable types
cube-missingness

Modify cube missing behavior
refresh

Get a fresh copy from the server
length

Length of Crunch objects
setCrunchAPI

Change which server to point to
shojifyDatasetMetadata

Wrap variable metadata inside a dataset entity
setEntitySlot

Base setter for Crunch objects
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
email

Extract the email from a User Entity
makeArray

Make a Categorical Array or Multiple Response variable
grabColNames

grab column names for subsetting crdfs
shojiURL

Get a resource URL from a Shoji Object
expropriateUser

Expropriate all Crunch objects from a user
deleteDataset

Delete a dataset from the dataset list
ordering

Get and set VariableOrder
projects

Get the project catalog
write.csv.gz

Write CSV to a compressed file
mv

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

Match categories with features from geodata
show

Show methods for Crunch objects
hideVariables

Hide and unhide variables within a dataset
newSlide

Append a new slide to a Crunch Deck
newDatasetFromFile

Upload a file to Crunch to make a new dataset
replaceCharWithNumeric

Transform character vectors into indices
reorderSlides

Reorder slides in a CrunchDeck
owners

See who owns these datasets
exclusion

View and set exclusion filters
newExampleDataset

Import a fixture dataset for testing
newDeck

Create an empty Crunch Deck
writePreparedData

Persist to disk a prepared data.frame and metadata
na-omit-categories

Omit missing categories
serialPaste

Make a prose list
slides

Access the slides of a CrunchDeck
slideCategories

Create sliding subvariable definitions
variable-as-methods

as.* methods for variables
tabBook

Compute a Tab Book
variableMetadata

Get all variable metadata for a dataset
generateWeightEntry

flattenOrder

Remove nesting of groups within an order/group
table

Table function for Crunch objects
project-icon

Get or set a project's icon
makeArrayGadget

Array builder
newDataset

Upload data to Crunch to make a new dataset
newMultitable

Create a new Multitable
grabRowInd

grab row indicators for subsetting crdfs
resolution

Methods for Datetime variable resolutions
scoreCatToFeat

Score similarity between a feature dataframe and categories
newFilter

Create a new filter
streamRows

Stream data to a Crunch dataset
which

"which" method for CrunchLogicalExpr
pollProgress

Check a Crunch progress URL until it finishes
importMultitable

Import a Multitable
loadDataset

Load a Crunch Dataset
setNames

Change the name of the entities in a catalog
share

Share a dataset
settings

View and modify dataset-level settings
restoreVersion

Restore a dataset to a previously saved version
tabbook-dim

TabBookResult and MultitableResult dimension
variables

Access a catalog of variables
versions

Access the saved versions of a dataset
me

My user entity
makeMarginMap

Make a map of margins
pendingStream

Get the pending streams for a dataset
lock

Lock and unlock a dataset for editing
makeWeight

Generate a weight variable
with-context-manager

Context manager's "with" method
unshare

Revoke a user's access to a dataset
members

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

Get the URLs contained in a Catalog or Order object
users

Get information about users who have access to a dataset
population

Get and set the market size for Crunch datasets
newProject

Create a new project
translateHidden

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

Create a new saved version
showTransforms

Show transformations on a Crunch object
searchDatasets

Search Crunch for datasets.
rmdir

Delete a folder
translateCubeIndex

Translate user facing cube subset to programmatic cube subset
tokenAuth

Add an auth token as a cookie manually
unbind

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

Set the streaming property of a dataset
skipMissingCategories

Handle missing categories in CrunchCube
pk

Get and set the primary key for a Crunch dataset
session-extract

Extract catalogs from a Session object
webApp

View a Crunch Object in the Web Application
removeEmptyGroups

Remove OrderGroups with no entities
weight

Dataset weights
setOrder

Change the order of entities in folder
team

Share Crunch assets with a team
session

Get various catalogs for your Crunch session
set_crunch_config

Set or modify general Crunch API request configuration
weightVariables

Get a dataset's weightVariables
temp.options

Set some global options temporarily
var-categories

Get and set Categories on Variables
validateNamesInDims

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

Methods for ShojiTuples