get_FTS: Pull FTS data from API

Description Usage Arguments Value Examples

View source: R/get_FTS.R

Description

Function to get flows from FTS. https://api.hpc.tools/docs/v1/ for instance https://api.hpc.tools/docs/v1/#public_fts_flow_get?year=2015&filterBy=destinationGlobalClusterCode:HEA&filterBy=destinationLocationID:114,115&groupby=organization&format=xml

Usage

1
get_FTS(boundary = "year=2020")

Arguments

boundary

year or other to include

Value

list with flows_frame data frame with flows

Examples

1
2
3
4
## Not run: 
data <- get_FTS(boundary = "year=2020")

## End(Not run)

unhcr-americas/IatiTidy documentation built on June 6, 2021, 12:24 a.m.