bar_primeob_by_agency: Creating a basic, unscaled bar chart of Prime Contract...

Description Usage Arguments Details Value Examples

View source: R/Contract Obligation by Agency.R

Description

Creating a basic, unscaled bar chart of Prime Contract Obligations by Agency

Usage

1
2
3
bar_primeob_by_agency(company_name, FY = 1, n_agencies = 6,
  scale = 1e+06, scale_text = "Millions", FY_range, num_size = 3,
  h = 6, w = 11)

Arguments

company_name

Name of the company, used in filename and chart title

FY

Fiscal year to filter out, commonly the current fiscal year due to incomplete data

n_agencies

The number of agencies to include in the view; defaults to 6

scale

Dollar scale; default to 1000000

scale_text

Dollar scale as text; defaults to Millions

FY_range

Fiscal Year range included, for example "FY14-FY17"

num_size

Size of heading text for agency names, default to 3. Note that the fewer the agencies used, the larger the text should be

h

Height of saved chart; defaults to 6

w

Width of saved chart; defaults to 11. Note that more agencies requires a greater width

Details

The returned chart will determine whether this function is sufficient or a different, more scaled chart is needed

Value

A bar chart

Examples

1
2
3
bar_primeob_by_agency(company_name = "Leidos", FY = 2018, n_agencies = 5,
                                scale = 1000000000, scale_text = "Billions", FY_range = "FY14-FY17",
                                num_size = 3, h = 7, w = 13)

MSTRoth/PSC-MB documentation built on May 26, 2019, 2:36 a.m.