plot_states: Interactive bar graph of incorporated companies per state per...

Description Usage Arguments Details Value Note Author(s) Examples

Description

This function takes a list of address dataframes in the SEC's format, and graphs each state's incorporated companies per year. There are options to select any year from the list, or to obtain a graph of the sum of all of the years. A dropdown list allows the subtraction of the states with the most incorporated companies. This allows the states with smaller amounts to be more clearly seen.

Usage

1

Arguments

x

A list of data frames from 2010 onwards

Details

This routine is a graphing routine that generates a bar graph, where x is the number of rows per state in each data frame that is passed in, y is the year, starting with 2010. A dropdown list is presented listing all of the years represented in the data frames that are passed in, as well as an option to show all of the years together. A second dropdown list is presented with a listing of the largest state values. These states can be removed in order to better show the values of the remaining states. The states that can be removed are: DE, NV, MD, CA, NY, FL

Value

An interactive bar graph, selectable by state and year

Note

The routine assumes that the first item in the list is the data for 2010, and each subsequent list item is an additional sequential year. This routine requires the 'manipulate' library.

Author(s)

Nick Lukianoff

Examples

1
plot_states(list(df1,df2,df3))

NickSEC/SECAddresses documentation built on May 7, 2019, 6:07 p.m.