Learn R Programming

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

crunch (version 1.27.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.27.0

License

LGPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Greg Freedman Ellis

Last Published

July 22nd, 2020

Functions in crunch (1.27.0)

CrunchDataset-class

Crunch Datasets
ContextManager

Context managers
SO_schema

Schema for the 2017 Stack Overflow developer survey
CrunchDataFrame

CrunchDataFrame
CrunchVariable-class

Variables in Crunch
Insertions-class

Insert categories in transformations
Categories-class

Categories in CategoricalVariables
SO_survey

R users who responded to the 2017 Stack Overflow developer survey
DatasetOrder-class

Organize Datasets
AbstractCategories-class

Abstract categories
VariableOrder-class

Organize Variables within a Dataset
Subtotal-class

Subtotals and headings
archive-and-publish

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

Summary insertions
VariableCatalog-class

Collection of Variables within a Dataset
checkInstalledPackages

Check if a user has packages installed
batches

See the appended batches of this dataset
as-vector

Convert Variables to local R objects
ShojiObject-class

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

Build Regex to find delimited items.
VariableDefinition

Construct a variable definition
appendDataset

Append one Crunch dataset to another
appendStream

Manually trigger a pending append to a dataset
check_margins

Check validity of margins
Transforms-class

Transformations of variable and cube views
addSummaryStat

Add summary statistics to a CrunchCube
addSubvariable

Add subvariable to an array
is.VariableDefinition

Test whether a Crunch object belongs to a class
as.environment,CrunchDataset-method

as.environment method for CrunchDataset
createDataset

Create an empty dataset
combine

Combine categories or responses
copyVariable

Copy a variable
availableGeodataFeatures

Get the property features for available geographies
addVariables

Add multiple variables to a dataset
collapse_dims

Collapse an array from a CrunchCube by summing
addGeoMetadata

Add geodata metadata to a crunch variable
ShojiOrder-slots

Manipulate VariableGroup and VariableOrder
analyses

Get and set slide analyses
crtabs

Crunch xtabs: Crosstab and otherwise aggregate variables in a Crunch Dataset
cube-missingness

Modify cube missing behavior
cube-computing

Work with CrunchCubes, MultitableResults, and TabBookResults
crunch_user_agent

Generate or extend the User-Agent string
cube-methods

Methods on Cube objects
createWithPreparedData

Upload a prepared data.frame with metadata to Crunch
c-categories

S3 method to concatenate Categories and Category objects
deleteSubvariables

Delete subvariables from an array
Subvariables-class

Subvariables in Array Variables
catalogToDataFrame

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

apply a function against a dimension
consent

Give consent to do things that require permission
cd

Change to different folder
changeCategoryID

Change the id of a category for a categorical variable
copyFolders

Copy the folder structure from one dataset to another.
calcInsertions

Given a vector of values and elements, calculate the insertions
cube-residuals

Calculate standardized residuals from a CrunchCube
cleanseBatches

Remove batches from a dataset
subtotalArray,CrunchCube-method

Calculate the transforms from a CrunchCube
categoriesFromLevels

Convert a factor's levels into Crunch categories.
compareDatasets

Compare two datasets to see how they will append
collapseCategories

Combine Categories in place
catalog-dataframes

as.data.frame method for catalog objects
createWithMetadataAndFile

Make a dataset with metadata and a CSV
calcTransforms

Calculate transforms for an array
dataset-to-R

as.data.frame method for CrunchDataset
crunch-cut

Cut a numeric Crunch variable
crunch-summary

Summary methods for Crunch Variables
conditionalTransform

Conditional transformation
createSubvarDeriv

Create subvariable derivation expressions
crunchAPI

Main Crunch API handling function
crunch-extract

Extract and modify Crunch objects
copyOrder

Copy the variable order from one dataset to another.
describe-entity

Name, alias, and description for Crunch objects
dichotomize

Indicate how categories represent a dichotomized value
datasets

Get a catalog of datasets
displaySettings

Get or set a slide's display settings
deleteVariables

Delete Variables Within a Dataset
ensureValidCase

Validate case statements for case variables
crunch-uni

Univariate statistics on Crunch objects
dropRows

Permanently delete rows from a dataset
copyOrderGroup

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

Make a CrunchBox
crunch

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

Get and set the owner of a dataset
embedCrunchBox

Get HTML for embedding a CrunchBox
dim-dataset

Dataset dimensions
duplicated

"duplicated" method for Crunch objects
exportDataset

Export a dataset to a file
dimSums

Collapse an array from a CrunchCube by summing across dimensions to remove
dimension-comparison-pairwise

Pairwise column and row comparison
datasetReference

Get a Crunch object's dataset URL
envOrOption

Grab either env variable or option
http-methods

HTTP methods for communicating with the Crunch API
CrunchGeography-class

Geography properties for crunch variables
folder

Find and move entities to a new folder
makeArray

Make a Categorical Array or Multiple Response variable
getAccountUserCatalog

Find all users on your account
flipArrays

Rearrange array subvariables
logout

Kill the active Crunch session
index.table

Calculate an index table for a CrunchCube
dimension-comparison

Column and row comparison
exportDeck

Export a Crunch Deck
dashboard

View or set a dashboard URL
merge

Merge a CrunchDataFrame
multitable-catalog

Multitable entities for a dataset
members

Manage access to datasets and other objects
self

Get the URL of this object
searchDatasets

Search Crunch for datasets.
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
titles

Manipulate deck titles
decks

Get a dataset's DeckCatalog
settings

View and modify dataset-level settings
set_crunch_config

Set or modify general Crunch API request configuration
delete

Delete a Crunch object from the server
deleteDataset

Delete a dataset from the dataset list
fortify

Fortify crunch objects for use with ggplot
forkDataset

Create a fork of a dataset
is.editor

Read and set edit privileges
joinDatasets

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

Get grouped or ungrouped OrderGroups
grabRowInd

grab row indicators for subsetting crdfs
grabColNames

grab column names for subsetting crdfs
mergeFork

Merge changes to a dataset from a fork
slides

Access the slides of a CrunchDeck
handleAPIresponse

Do the right thing with the HTTP response
derivations

Get or set a derived variable's expression
aliases

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

Make a case variable
makeInteractions

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

Upload data to Crunch to make a new dataset
makeArrayGadget

Array builder
newProject

Create a new project
newMultitable

Create a new Multitable
modifyWeightVariables

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

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

Convert a child class of Insertion into a proper Insertion
escapeRegex

Escape a regular expression
notifyIfNewVersion

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

Expropriate all Crunch objects from a user
expressions

Construct Crunch Expressions
exclusion

View and set exclusion filters
generateWeightEntry

generateCutLabels

Generate Labels for the cut function
hasFunction

Check if a package has a function installed
reorderSlides

Reorder slides in a CrunchDeck
is-public

View and modify the "public" attribute of artifacts
hide

Hide/Unhide or Privatize/Deprivatize Variables
ordering

Get and set VariableOrder
listDatasets

Get the names of datasets in a project
lock

Lock and unlock a dataset for editing
is.TRUEorFALSE

Check that a value is TRUE or FALSE
filter-catalog

Get or set a dataset's filters
getTeams

Retrieve your teams
loadDataset

Load a Crunch Dataset
flattenOrder

Remove nesting of groups within an order/group
getDimTypes

Get dimension type
interactVariables

Create a variable by interacting categorical variables
login

Authenticate with the Crunch API
is-na-categories

is.na for Categories
replaceCharWithNumeric

Transform character vectors into indices
matchCatToFeat

Match categories with features from geodata
me

My user entity
listDatasetGadget

Open dataset selector
makeMRFromText

Create Multiple Response Variable from Delimited lists
length

Length of Crunch objects
newDeck

Create an empty Crunch Deck
newSlide

Append a new slide to a Crunch Deck
noTransforms

Remove transformations from a CrunchCube
preCrunchBoxCheck

Check if a dataset will make a good CrunchBox
newDatasetFromFile

Upload a file to Crunch to make a new dataset
population

Get and set the market size for Crunch datasets
pk

Get and set the primary key for a Crunch dataset
makeWeight

Generate a weight variable
serialPaste

Make a prose list
session-extract

Extract catalogs from a Session object
show

Show methods for Crunch objects
streamRows

Stream data to a Crunch dataset
pollProgress

Check a Crunch progress URL until it finishes
saveVersion

Create a new saved version
streaming

Set the streaming property of a dataset
scoreCatToFeat

Score similarity between a feature dataframe and categories
showTransforms

Show transformations on a Crunch object
owners

See who owns these datasets
makeMarginMap

Make a map of margins
pendingStream

Get the pending streams for a dataset
subtypeInsertion

Convert from Insertion to Insertion subtypes
tojson-crunch

toJSON methods for Crunch objects
margin-translation

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

Extract the email from a User Entity
with-context-manager

Context manager's "with" method
which

"which" method for CrunchLogicalExpr
urls,ShojiCatalog-method

Get the URLs contained in a Catalog or Order object
prepareDataForCrunch

Translate a data.frame to Crunch format
projects

Get the project catalog
write.csv.gz

Write CSV to a compressed file
mv

Functions to manipulate variables' or project's folder structure
tabbook-dim

TabBookResult and MultitableResult dimension
tabBook

Compute a Tab Book
resetPassword

Reset your password
replaceMissingWithTRUE

Replace missing elements with TRUE
resolution

Methods for Datetime variable resolutions
translateCubeIndex

Translate user facing cube subset to programmatic cube subset
tokenAuth

Add an auth token manually
unbind

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

Restore a dataset to a previously saved version
na-omit-categories

Omit missing categories
writePreparedData

Persist to disk a prepared data.frame and metadata
variableMetadata

Get all variable metadata for a dataset
translateHidden

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

Base setter for Crunch objects
variables

Access a catalog of variables
newExampleDataset

Import a fixture dataset for testing
setNames

Change the name of the entities in a catalog
shoji-index

Get the body of a Catalog
setOrder

Change the order of entities in folder
share

Share a dataset
setName

Change the name of the current folder
refresh

Get a fresh copy from the server
newFilter

Create a new filter
table

Table function for Crunch objects
users

Get information about users who have access to a dataset
slideCategories

Create sliding subvariable definitions
skipMissingCategories

Handle missing categories in CrunchCube
validateNamesInDims

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

Get a dataset's weightVariables
weight

Dataset weights
rmdir

Delete a folder
removeEmptyGroups

Remove OrderGroups with no entities
unshare

Revoke a user's access to a dataset
versions

Access the saved versions of a dataset
team

Share Crunch assets with a team
variable-as-methods

as.* methods for variables
var-categories

Get and set Categories on Variables
rowDistinct

Create variables useful for determining whether a row's values are suspicious
session

Get various catalogs for your Crunch session
webApp

View a Crunch Object in the Web Application
setCrunchAPI

Change which server to point to
shojifyDatasetMetadata

Wrap variable metadata inside a dataset entity
temp.options

Set some global options temporarily
shojiURL

Get a resource URL from a Shoji Object
toVariable

Generic method for converting objects to Crunch representations
type

Change Crunch variable types
$,ShojiEntity-method

Methods for ShojiTuples