- country
ISO2 country code.
- year
Single numeric year to filter analysis, calculated from the
maximum year of current period dates. If NULL, the default, returns
data for all years.
- type
Single string value of 'A' or 'C', corresponding to food security
conditions, either acute or chronic. If NULL, the default, returns
data for all types.
- id
Analysis ID.
- period
Period code, either 'C', 'P', or 'A' for current, projection,
and second projection.
- return_format
The format that should be returned by the API. Allows
"csv" (the default) and "geojson".
- api_key
IPC API key. If NULL (the default), looks for IPC_API_KEY
in the environment.
- tidy_df
If TRUE, returns a tidy data frame wrangled as described in
the Tidy section of the documentation. If FALSE, returns
the data frame as returned direct from the IPC-CH API.