parsePSNUs: Extract PSNUs from submitted file

View source: R/unPackCountryUIDs.R

parsePSNUsR Documentation

Extract PSNUs from submitted file

Description

When supplied a submission path, tool type and COP year, will return a data frame of PSNU, psnu_uid,country_name, and country_uid If there are malformed PSNU UIDs in the file, an error will be thrown.

Usage

parsePSNUs(submission_path, tool, cop_year)

Arguments

submission_path

Local path to the file to import.

tool

What type of tool is the submission file? Default is "Data Pack".

cop_year

Specifies COP year for dating as well as selection of templates.

Value

Data frame of parsed PSNUs.


pepfar-datim/datapackr documentation built on April 14, 2024, 10:35 p.m.