ts_non_reporters: Function to produce the list of non-reporting countries.

View source: R/ts_non_reporters.R

ts_non_reportersR Documentation

Function to produce the list of non-reporting countries.

Description

Function to produce the list of non-reporting countries.

Usage

ts_non_reporters(collection_path = NULL, prefix = NULL)

Arguments

collection_path

String with path where single-year report directories are stored.

prefix

String with report directory name prefix without trailing underscore. By default NULL.

Value

A table with countries/years where the cell is 9 if the country does not report completely for that year, 1 if it does not report imports, 2 if it does not report exports.

Examples

## Not run: 
ts_non_reporters("/mnt/storage/sws_share/sas", "complete_tf_cpc")

## End(Not run)


SWS-Methodology/faoswsTrade documentation built on Feb. 13, 2023, 1:04 a.m.