README.md

Build Status

aggRviz

A tool to work with and visualize data aggregated data.

Created by

[Amy Goldlist](https://github.com/amygoldlist)  ·  [Susan Fung](https://github.com/susan-fung)  ·  [Fand Yang](https://github.com/fyang95)

Build Status        GitHub forks       GitHub issues       License: MIT      contributions welcome

To Install:

devtools::install_github("amygoldlist/aggRviz")

and to load: library(aggRviz)

Overview

The aggRviz package is used for analysis of aggregated data. Privacy concerns mean that much of the data we need to analyze is already aggregated and anonymized. Often this means it has been aggregated in different ways, and all of them are included in a dataset. In this case, and individual may show up in several rows: for example, all the males who live in California, and all of the males who own pets. This package contains several tools to take data in aggregated form, and return a tidy dataframe, where each individual datapoint lies in exactly one row.

This package includes several functions:

data - a data frame

number - the number of dimensions, default = Null = the largest number of dimensions

keep - Checks through a dataframe and a vector of features that can be kept or deleted

*Value:*

Returns a list of all combinations of dismensions.

Arguments:

`data` - a data frame

`col_2_delete = NULL` - This function filters out any row, stratified by those columns.

`col_2_keep = NULL` - This function filters out any row, stratified by those columns.

`features = NULL` - select the dimensions you want to keep or delete.

Value:

Return a data frame that filter out any unstratified rows from the other features.

Argument:

`data` - a dataframe

`features` - features you selected

Value:

Create a filtered dataframe with no blanks

Argument:

`data` - a dataframe

`key` - terms that key metrics includes

Value:

Return a vector of key metrics.

Argument:

`path` - a folder path

`n` - the number of row you want to skip

`pattern` - what kind of files you want to read

Value:

Return a list of all datasets.

License

MIT License

Contributing

Interested in contributing? See our Contributing Guidelines and Code of Conduct.

Created by

Amy Goldlist  ·  Susan Fung  ·  Fang Yang



amygoldlist/aggRviz documentation built on May 16, 2019, 11:10 p.m.