make_priogrid: make_priogrid

Description Usage Arguments

View source: R/control.R

Description

Make priogrid. This function is the main entrypoint for the priogrid package. It compiles the files that make up priogrid by following several different specification files located under extdata (or specified).

This function is responsible for figuring out which function to run for each variable, and providing these functions with the location of the raw data, as well as the location to which the resulting data will be written, and in what file format.

Usage

1
make_priogrid(input_folder, output_folder, specfile = NULL, format = "parquet")

Arguments

input_folder

The folder containing the raw data file structure (see vignette('pg_raw_data')

output_folder

The folder where the finished data will be written.

specfile

A specification file which tells the function what to make. THis file must follow a format laid out in vignette('pg_specification')

format

What file format to write out. Currently supported formats are 'parquet' (default) and 'rds'.


prio-data/priogrid documentation built on June 28, 2021, 5:34 a.m.