tarpan2_model_data: tarpan2_model_data

Description Usage Arguments Value

Description

Retrieves model data from the postgres server

Usage

1
2
3
4
tarpan2_model_data(geography = NULL, variable = NULL, model = NULL,
  start = NULL, end = NULL, specified_variables = NULL,
  dbname = NULL, group_by = NULL, weight_by = NULL, weight = NULL,
  bc_method = NULL)

Arguments

geography

A geography code, found in tarpan1_geographies

variable

Which variable to use when querying data

model

Which model to use when querying data

start

Starting date to query data

end

Ending date to query data

specified_variables

Any specific variables to request from API. Helpful for large queries.

dbname

A project database, found in tarpan2_show_databases

group_by

Name of 'specified_variables' to group results by, typically grouped by a time variable

weight_by

Name of column from 'project_tbl' that is to be used to group the weights, typically a spatial grouping, such as "sub_iso".

weight

Name of column from 'project_tbl' that is to be used to weight the results, typically "branch_book". Must be used in combination with 'weight_by' and 'group_by'

Value

Tarpan model data frame


GlobalParametrics/taRpan_readonly documentation built on May 13, 2019, 11:23 a.m.