core_data: core_data

View source: R/core_data.R

core_dataR Documentation

core_data

Description

Creates core_data that consists of manipulated observations and run settings for fit_fp_c

Usage

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’ Path to survey data. Survey data should be a .csv with the following format contraceptive_use.

division_numeric_code

‘Numeric’ A number associated with the country. See the data from 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 TRUE runs the sub national model.


FPRgroup/FPEMcountry documentation built on April 24, 2023, 4:32 p.m.