load_data: Save/Load Data To Or From The Project Database(s)

View source: R/data.R

load_dataR Documentation

Save/Load Data To Or From The Project Database(s)

Description

Save/Load Data To Or From The Project Database(s)

Usage

load_data(path, state, type = c("services", "capacity"), vars)

save_table(df, state, type = "services", path)

Arguments

path

The path to the data(base) file.

state

The State for which the data are retrieved.

type

The kind of data being retrieved (see Details)

vars

A vector of variable names.Defaults to names provided via options.

df

A project data frame that is to be saved.

Details

There are two possible values for the type argument: services for retrieving data on GBV services mapping and capacity for data on capacity assessment.

Value

For load_data,aA data frame with individual columns of class "labelled".


BroVic/raampGBV documentation built on Oct. 7, 2022, 11:06 p.m.