write_network_metric_file: Combine data from 'oliver_replica' into a network metric file

Description Usage Arguments Value Author(s) See Also Examples

Description

Takes tables loaded with load_flat_files, aggregates them to provider-level metrics within a given network, and writes the file to the Data directory of the package.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
write_network_metric_file(time_window_days = 30,
  network_providers = c("American Indian Community Center",
  "Angela's Family Services", "Fulcrum Institute, DRC", "G&A, LLC",
  "GMC Training Institute", "Love My Child Family Services",
  "Martin Luther King Jr. Family Outreach Center",
  "New Beginnings Visitation and Parent Education", "Reunified Services",
  "Service Alternatives",
  "The Salvation Army Nurturing Center for Children & Families",
  "Unite Family Services", "Family Visitation Volunteers of America"),
  set_neg_to_zero = FALSE, set_na_to_avg = FALSE)

Arguments

time_window_days

numeric window of time over which measures are to be averaged.

network_providers

vector of providers to be included in the report. Defaults to current Family Impact Network providers as shown above.

set_neg_to_zero

logical scalar - Should the measurements that are less than 0 be set to 0? Defaults to FALSE. Experimental.

set_na_to_avg

logical scalar - Should the measurements that are NA or NaN be set to the network mean? Defaults to FALSE. Experimental.

Value

A single feather file.

Author(s)

Joe Mienko, mienkoja@uw.edu

See Also

load_flat_files

Examples

1

pocdata/oliveR documentation built on May 25, 2019, 10:23 a.m.