Learn R Programming

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

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

601

Version

1.26.0

License

LGPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Jonathan Keane

Last Published

April 2nd, 2019

Functions in crunch (1.26.0)

SummaryStat-class

Summary insertions
VariableOrder-class

Organize Variables within a Dataset
ShojiObject-class

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

Upload a prepared data.frame with metadata to Crunch
compareDatasets

Compare two datasets to see how they will append
archive-and-publish

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

Conditional transformation
as-vector

Convert Variables to local R objects
ShojiOrder-slots

Manipulate VariableGroup and VariableOrder
createWithMetadataAndFile

Make a dataset with metadata and a CSV
Transforms-class

Transformations of variable and cube views
crunch-summary

Summary methods for Crunch Variables
as.environment,CrunchDataset-method

as.environment method for CrunchDataset
availableGeodataFeatures

Get the property features for available geographies
aliases

Get and set names, aliases on Catalog-type objects
crunch-uni

Univariate statistics on Crunch objects
createDataset

Create an empty dataset
createSubvarDeriv

Create subvariable derivation expressions
CrunchDataFrame

CrunchDataFrame
VariableCatalog-class

Collection of Variables within a Dataset
describe-entity

Name, alias, and description for Crunch objects
addGeoMetadata

Add geodata metadata to a crunch variable
subtotalArray,CrunchCube-method

Calculate the transforms from a CrunchCube
cleanseBatches

Remove batches from a dataset
dashboard

View or set a dashboard URL
batches

See the appended batches of this dataset
applyAgainst

apply a function against a dimension
Subtotal-class

Subtotals and headings
buildDelimRegex

Build Regex to find delimited items.
appendDataset

Append one Crunch dataset to another
collapseCategories

Combine Categories in place
Subvariables-class

Subvariables in Array Variables
VariableDefinition

Construct a variable definition
dataset-owner

Get and set the owner of a dataset
analyses

Get and set slide analyses
addVariables

Add multiple variables to a dataset
exclusion

View and set exclusion filters
appendStream

Manually trigger a pending append to a dataset
calcTransforms

Calculate transforms for an array
catalog-dataframes

as.data.frame method for catalog objects
exportDataset

Export a dataset to a file
c-categories

S3 method to concatenate Categories and Category objects
collapse_dims

Collapse an array from a CrunchCube by summing
embedCrunchBox

Get HTML for embedding a CrunchBox
dim-dataset

Dataset dimensions
dichotomize

Indicate how categories represent a dichotomized value
ensureValidCase

Validate case statements for case variables
generateWeightEntry

crunch-extract

Extract and modify Crunch objects
CrunchGeography-class

Geography properties for crunch variables
fortify

Fortify crunch objects for use with ggplot
generateCutLabels

Generate Labels for the cut function
makeInsertion

Convert a child class of Insertion into a proper Insertion
combine

Combine categories or responses
importMultitable

Import a Multitable
copyOrderGroup

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

Copy a variable
makeInteractions

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

Merge changes to a dataset from a fork
is.dataset

Test whether a Crunch object belongs to a class
addSubvariable

Add subvariable to an array
datasets

Get a catalog of datasets
addSummaryStat

Add summary statistics to a CrunchCube
index.table

Calculate an index table for a CrunchCube
listDatasets

Get the names of datasets in a project
titles

Manipulate deck titles
modifyWeightVariables

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

Delete subvariables from an array
deleteDataset

Delete a dataset from the dataset list
categoriesFromLevels

Convert a factor's levels into Crunch categories.
catalogToDataFrame

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

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

Change to different folder
loadDataset

Load a Crunch Dataset
owners

See who owns these datasets
pendingStream

Get the pending streams for a dataset
makeWeight

Generate a weight variable
changeCategoryID

Change the id of a category for a categorical variable
calcInsertions

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

Check validity of margins
checkInstalledPackages

Check if a user has packages installed
crtabs

Crunch xtabs: Crosstab and otherwise aggregate variables in a Crunch Dataset
margin-translation

Convert from user margins to real cube margins or vice versa
crunch-cut

Cut a numeric Crunch variable
consent

Give consent to do things that require permission
copyOrder

Copy the variable order from one dataset to another.
crunchBox

Make a CrunchBox
crunchAPI

Main Crunch API handling function
removeEmptyGroups

Remove OrderGroups with no entities
cube-computing

Work with CrunchCubes, MultitableResults, and TabBookResults
datasetReference

Get a Crunch object's dataset URL
reorderSlides

Reorder slides in a CrunchDeck
searchDatasets

Search Crunch for datasets.
dimension-comparison

Column and row comparison
cube-methods

Methods on Cube objects
displaySettings

Get or set a slide's display settings
exportDeck

Export a Crunch Deck
self

Get the URL of this object
expressions

Construct Crunch Expressions
newDataset

Upload data to Crunch to make a new dataset
newDatasetByColumn

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

Append a new slide to a Crunch Deck
crunch_user_agent

Generate or extend the User-Agent string
getAccountUserCatalog

Find all users on your account
cube-missingness

Modify cube missing behavior
cube-residuals

Calculate standardized residuals from a CrunchCube
noTransforms

Remove transformations from a CrunchCube
project-icon

Get or set a project's icon
prepareDataForCrunch

Translate a data.frame to Crunch format
dimSums

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

Pairwise column and row comparison
dataset-to-R

as.data.frame method for CrunchDataset
saveVersion

Create a new saved version
getDimTypes

Get dimension type
expropriateUser

Expropriate all Crunch objects from a user
set_crunch_config

Set or modify general Crunch API request configuration
settings

View and modify dataset-level settings
decks

Get a dataset's DeckCatalog
delete

Delete a Crunch object from the server
envOrOption

Grab either env variable or option
escapeRegex

Escape a regular expression
is-public

View and modify the "public" attribute of artifacts
is.TRUEorFALSE

Check that a value is TRUE or FALSE
filter-catalog

Get or set a dataset's filters
team

Share Crunch assets with a team
grabRowInd

grab row indicators for subsetting crdfs
deleteVariables

Delete Variables Within a Dataset
derivations

Get or set a derived variable's expression
lock

Lock and unlock a dataset for editing
folder

Find and move entities to a new folder
login

Authenticate with the Crunch API
forkDataset

Create a fork of a dataset
temp.options

Set some global options temporarily
scoreCatToFeat

Score similarity between a feature dataframe and categories
makeArrayGadget

Array builder
makeCaseVariable

Make a case variable
setNames

Change the name of the entities in a catalog
grouped

Get grouped or ungrouped OrderGroups
setOrder

Change the order of entities in folder
handleAPIresponse

Do the right thing with the HTTP response
dropRows

Permanently delete rows from a dataset
duplicated

"duplicated" method for Crunch objects
hasFunction

Check if a package has a function installed
notifyIfNewVersion

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

Remove nesting of groups within an order/group
hiddenVariables

Show the names of a dataset's hidden variables
flipArrays

Rearrange array subvariables
skipMissingCategories

Handle missing categories in CrunchCube
ordering

Get and set VariableOrder
slides

Access the slides of a CrunchDeck
unshare

Revoke a user's access to a dataset
restoreVersion

Restore a dataset to a previously saved version
rmdir

Delete a folder
urls,ShojiCatalog-method

Get the URLs contained in a Catalog or Order object
hide

Hide and Unhide Variables
interactVariables

Create a variable by interacting categorical variables
toVariable

Generic method for converting objects to Crunch representations
length

Length of Crunch objects
tojson-crunch

toJSON methods for Crunch objects
is-na-categories

is.na for Categories
listDatasetGadget

Open dataset selector
session

Get various catalogs for your Crunch session
variable-as-methods

as.* methods for variables
getTeams

Retrieve your teams
grabColNames

grab column names for subsetting crdfs
translateHidden

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

Manage access to datasets and other objects
hideVariables

Hide and unhide variables within a dataset
merge

Merge a CrunchDataFrame
logout

Kill the active Crunch session
variableMetadata

Get all variable metadata for a dataset
http-methods

HTTP methods for communicating with the Crunch API
setCrunchAPI

Change which server to point to
$,ShojiEntity-method

Methods for ShojiTuples
show

Show methods for Crunch objects
newExampleDataset

Import a fixture dataset for testing
weightVariables

Get a dataset's weightVariables
showTransforms

Show transformations on a Crunch object
makeArray

Make a Categorical Array or Multiple Response variable
is.editor

Read and set edit privileges
newFilter

Create a new filter
which

"which" method for CrunchLogicalExpr
pk

Get and set the primary key for a Crunch dataset
joinDatasets

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

Match categories with features from geodata
pollProgress

Check a Crunch progress URL until it finishes
me

My user entity
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
resetPassword

Reset your password
resolution

Methods for Datetime variable resolutions
multitable-catalog

Multitable entities for a dataset
makeMRFromText

Create Multiple Response Variable from Delimited lists
setEntitySlot

Base setter for Crunch objects
mv

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

Make a map of margins
na-omit-categories

Omit missing categories
setName

Change the name of the current folder
shojiURL

Get a resource URL from a Shoji Object
newDatasetFromFile

Upload a file to Crunch to make a new dataset
newDeck

Create an empty Crunch Deck
shojifyDatasetMetadata

Wrap variable metadata inside a dataset entity
subtypeInsertion

Convert from Insertion to Insertion subtypes
newMultitable

Create a new Multitable
projects

Get the project catalog
tabBook

Compute a Tab Book
refresh

Get a fresh copy from the server
newProject

Create a new project
serialPaste

Make a prose list
type

Change Crunch variable types
population

Get and set the market size for Crunch datasets
preCrunchBoxCheck

Check if a dataset will make a good CrunchBox
session-extract

Extract catalogs from a Session object
share

Share a dataset
variables

Access a catalog of variables
unbind

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

Get the body of a Catalog
streaming

Set the streaming property of a dataset
streamRows

Stream data to a Crunch dataset
replaceCharWithNumeric

Transform character vectors into indices
tokenAuth

Add an auth token as a cookie manually
versions

Access the saved versions of a dataset
replaceMissingWithTRUE

Replace missing elements with TRUE
tabbook-dim

TabBookResult and MultitableResult dimension
translateCubeIndex

Translate user facing cube subset to programmatic cube subset
table

Table function for Crunch objects
email

Extract the email from a User Entity
users

Get information about users who have access to a dataset
webApp

View a Crunch Object in the Web Application
validateNamesInDims

error iff the names are not a dimension in the cube provided
with-context-manager

Context manager's "with" method
weight

Dataset weights
var-categories

Get and set Categories on Variables
write.csv.gz

Write CSV to a compressed file
writePreparedData

Persist to disk a prepared data.frame and metadata
ContextManager

Context managers
SO_survey

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

Crunch Datasets
CrunchVariable-class

Variables in Crunch
Insertions-class

Insert categories in transformations
DatasetOrder-class

Organize Datasets
AbstractCategories-class

Abstract categories
SO_schema

Schema for the 2017 Stack Overflow developer survey
Categories-class

Categories in CategoricalVariables