Data > Manage

Functions used with Data > Manage

choose_dir()

Choose a directory interactively

choose_files()

Choose files interactively

describe()

Show dataset description

find_dropbox()

Find Dropbox folder

find_gdrive()

Find Google Drive folder

find_home()

Find user directory

find_project()

Find the Rstudio project folder

fix_names()

Ensure column names are valid

get_data()

Select variables and filter data

load_clip()

Load data through clipboard on Windows or macOS

parse_path()

Parse file path into useful components

read_files()

Generate code to read a file

save_clip()

Save data to clipboard on Windows or macOS

to_fct()

Convert characters to factors

Data > View

Functions used with Data > View

dtab()

Method to create datatables

dtab(<data.frame>)

Create an interactive table to view, search, sort, and filter data

filter_data()

Filter data with user-specified expression

search_data()

Search for a pattern in all columns of a data.frame

view_data()

View data in a shiny-app

Data > Visualize

Function used with Data > Visualize

visualize()

Visualize data using ggplot2 http://ggplot2.tidyverse.org

ggplotly()

Work around to avoid (harmless) messages from ggplotly

subplot()

Work around to avoid (harmless) messages from subplot

print(<gtable>)

Print/draw method for grobs produced by gridExtra

Data > Pivot

Functions used with Data > Pivot

pivotr()

Create a pivot table

summary(<pivotr>)

Summary method for pivotr

dtab(<pivotr>)

Make an interactive pivot table

plot(<pivotr>)

Plot method for the pivotr function

Data > Explore

Functions used with Data > Pivot

explore()

Explore and summarize data

summary(<explore>)

Summary method for the explore function

dtab(<explore>)

Make an interactive table of summary statistics

flip()

Flip the DT table to put Function, Variable, or Group by on top

Data > Transform

Functions used with Data > Transform

as_character()

Wrapper for as.character

as_distance()

Distance in kilometers or miles between two locations based on lat-long Function based on http://www.movable-type.co.uk/scripts/latlong.html. Uses the haversine formula

as_dmy()

Convert input in day-month-year format to date

as_dmy_hm()

Convert input in day-month-year-hour-minute format to date-time

as_dmy_hms()

Convert input in day-month-year-hour-minute-second format to date-time

as_duration()

Wrapper for lubridate's as.duration function. Result converted to numeric

as_factor()

Wrapper for factor with ordered = FALSE

as_hm()

Convert input in hour-minute format to time

as_hms()

Convert input in hour-minute-second format to time

as_integer()

Convert variable to integer avoiding potential issues with factors

as_mdy()

Convert input in month-day-year format to date

as_mdy_hm()

Convert input in month-day-year-hour-minute format to date-time

as_mdy_hms()

Convert input in month-day-year-hour-minute-second format to date-time

as_numeric()

Convert variable to numeric avoiding potential issues with factors

as_ymd()

Convert input in year-month-day format to date

as_ymd_hm()

Convert input in year-month-day-hour-minute format to date-time

as_ymd_hms()

Convert input in year-month-day-hour-minute-second format to date-time

center()

Center

cv()

Coefficient of variation

inverse()

Calculate inverse of a variable

is_empty()

Is a character variable defined

is_not()

Convenience function for is.null or is.na

is_double()

Is input a double (and not a date type)?

is_string()

Is input a string?

level_list()

Generate list of levels and unique values

ln()

Natural log

make_train()

Generate a variable used to selected a training sample

month()

Add ordered argument to lubridate::month

mutate_ext()

Add transformed variables to a data frame with the option to include a custom variable name extension

n_missing()

Number of missing values

n_obs()

Number of observations

normalize()

Normalize a variable x by a variable y

p01() p025() p05() p10() p25() p75() p90() p95() p975() p99()

Calculate percentiles

prop()

Calculate proportion

refactor()

Remove/reorder levels

sdpop()

Standard deviation for the population

sdprop()

Standard deviation for proportion

se()

Standard error

seprop()

Standard error for proportion

show_duplicated()

Show all rows with duplicated values (not just the first or last)

square()

Calculate square of a variable

standardize()

Standardize

store()

Method to store variables in a dataset in Radiant

table2data()

Create data.frame from a table

varpop()

Variance for the population

varprop()

Variance for proportion

wday()

Add ordered argument to lubridate::wday

weighted.sd()

Weighted standard deviation

which.pmax()

Index of the maximum per row

which.pmin()

Index of the minimum per row

pfun() psum() pmean() pmedian() psd() pvar() pcv() pp01() pp025() pp05() pp10() pp25() pp75() pp95() pp975() pp99()

Summarize a set of numeric vectors per row

xtile()

Create quantiles

Data > Combine

Functions used with Data > Combine

combine_data()

Combine datasets using dplyr's bind and join functions

Report

Functions used with Report > Rmd and Report > R

fix_smart()

Replace smart quotes etc.

format_df()

Format a data.frame with a specified number of decimal places

format_nr()

Format a number with a specified number of decimal places, thousand sep, and a symbol

round_df()

Round doubles in a data.frame to a specified number of decimal places

register()

Register a data.frame or list in Radiant

deregister()

Deregister a data.frame or list in Radiant

render()

Base method used to render htmlwidgets

render(<datatables>)

Method to render DT tables

render(<plotly>)

Method to render plotly plots

Convenience functions

Convenience functions

add_class()

Convenience function to add a class

get_class()

Get variable class

ci_label()

Labels for confidence intervals

ci_perc()

Values at confidence levels

copy_all()

Source all package functions

copy_attr()

Copy attributes from one object to another

copy_from()

Source for package functions

does_vary()

Does a vector have non-zero variability?

empty_level()

Convert categorical variables to factors and deal with empty/missing values

get_summary()

Create data.frame summary

indexr()

Find index corrected for missing values and filters

install_webshot()

Install webshot and phantomjs

iterms()

Create a vector of interaction terms

set_attr()

Alias used to add an attribute

sig_stars()

Add stars based on p.values

sshh()

Hide warnings and messages and return invisible

sshhr()

Hide warnings and messages and return result

Starting radiant.data

Functions used to start radiant shiny apps

launch()

Launch radiant apps

radiant.data()

radiant.data

radiant.data_viewer()

Launch the radiant.data app in the Rstudio viewer

radiant.data_window()

Launch the radiant.data app in an Rstudio window

Re-exported

Functions exported from other packages

as_tibble

Exporting as_tibble from tibble

tibble

Exporting tibble from tibble

rownames_to_column

Exporting rownames_to_column from tibble

glance

Exporting glance from broom

tidy

Exporting tidy from broom

glue

Exporting glue from glue

glue_collapse

Exporting glue_collapse from glue

glue_data

Exporting glue_data from glue

knit_print

Exporting knit_print from knitr

kurtosi

Exporting kurtosi from psych

skew

Exporting skew from psych

Data sets

Data sets bundled with radiant.data

avengers

Avengers

diamonds

Diamond prices

publishers

Comic publishers

superheroes

Super heroes

titanic

Survival data for the Titanic

Deprecated

Deprecated

mean_rm()

Deprecated function(s) in the radiant.data package

store(<pivotr>)

Deprecated: Store method for the pivotr function

store(<explore>)

Deprecated: Store method for the explore function