fastDummies - Fast Creation of Dummy (Binary) Columns and Rows from Categorical Variables
Creates dummy columns from columns that have categorical variables (character or factor types). You can also specify which columns to make dummies out of, or which columns to ignore. Also creates dummy rows from character, factor, and Date columns. This package provides a significant speed increase from creating dummy variables through model.matrix().
Last updated
binary-datadummy-columnsdummy-datadummy-rowsdummy-variable
13.31 score 41 stars 178 dependents 3.7k scripts 85k downloadsasciiSetupReader - Reads Fixed-Width ASCII Data Files (.txt or .dat) that Have Accompanying Setup Files (.sps or .sas)
Lets you open a fixed-width ASCII file (.txt or .dat) that has an accompanying setup file (.sps or .sas). These file combinations are sometimes referred to as .txt+.sps, .txt+.sas, .dat+.sps, or .dat+.sas. This will only run in a txt-sps or txt-sas pair in which the setup file contains instructions to open that text file. It will NOT open other text files, .sav, .sas, or .por data files. Fixed-width ASCII files with setup files are common in older (pre-2000) government data.
Last updated
asciidatdata-readerfixed-widthfixed-width-parserfixed-width-tablesfixed-width-textsasspss
6.17 score 13 stars 1 dependents 25 scripts 386 downloadspredictrace - Predict the Race and Gender of a Given Name Using Census and Social Security Administration Data
Predicts the most common race of a surname and based on U.S. Census data, and the most common first named based on U.S. Social Security Administration data.
Last updated
5.11 score 13 stars 20 scripts 208 downloadscaesar - Encrypts and Decrypts Strings
Encrypts and decrypts strings using either the Caesar cipher or a pseudorandom number generation (using set.seed()) method.
Last updated
4.87 score 1 stars 41 scripts 3.6k downloadsmeditations - Prints a Random Quote from Marcus Aurelius' Book Meditations
Prints a random quote from Marcus Aurelius' book Meditations.
Last updated
4.30 score 4 stars 8 scripts 181 downloadscrimeutils - A Comprehensive Set of Functions to Clean, Analyze, and Present Crime Data
A collection of functions that make it easier to understand crime (or other) data, and assist others in understanding it. The package helps you read data from various sources, clean it, fix column names, and graph the data.
Last updated
3.11 score 2 stars 13 scripts 283 downloadsUCR.ColumnNames - Fixes Column Names for Uniform Crime Report "Offenses Known and Clearance by Arrest" Datasets
Changes the column names of the inputted dataset to the correct names from the Uniform Crime Report codebook for the "Offenses Known and Clearance by Arrest" datasets from 1998-2014.
Last updated
1.00 score 1 scripts 107 downloads