duplicateResponse: duplicateResponse

View source: R/getMetadataEndpoint.R

duplicateResponseR Documentation

duplicateResponse

Description

adds in duplicates to the response if they were in the filter

Usage

duplicateResponse(resp, expand, by)

Arguments

resp

api response after simplification of data structure

expand

a vector of something

by

which column to use as a reference during duplication

Value

the same api reponse that entered but with added records


pepfar-datim/datimutils documentation built on Nov. 20, 2023, 7:58 a.m.