core_data: core_data

Description Usage Arguments

View source: R/core_data.R

Description

Creates core_data that consists of manipulated observations and run settings for fpemmodeling::do_1country_run

Usage

1
2
3
4
5
6
7
8
core_data(
  is_in_union,
  surveydata_filepath,
  division_numeric_code,
  first_year,
  last_year,
  subnational
)

Arguments

is_in_union

‘Character’ "Y" if women are in union.

surveydata_filepath

‘Character’ If NULL package data is used

division_numeric_code

‘Numeric’ A number associated with the country. See the data from fpemdata::divisions

first_year

‘Numeric’ The first year of model estimates in output. The model will be fit to all data, including dates before this date if available

last_year

‘Numeric’ The last year of model estimates in output. The model will be fit to all data, including dates after this date if available

subnational

'‘Logical’ If FALSE runs the national model


FPRgroup/fpemmodeling documentation built on April 8, 2020, 12:32 p.m.