-
Notifications
You must be signed in to change notification settings - Fork 13
Description
The interface for MPE is extremely non-intuitive and exceptionally difficult to work with. Literally the only way to know which direction of investment goes with which classification is to try each one and see which one fails then compile a list of acceptable reference data. Also the API requires classification but every time you call the API it says "Parameter classification not allowed in current query and will be dropped by API. Yet it returns data.. Also You have an additional space in the get_parameter_values for classification. It says "Classification " notice the space. This API needs to be simplified. Also it doesn't seem to have any data for many of the MPE endpoints for current years. Is MPE deprecated? Seems exceptionally important with Tariffs and such nowadays.
The following are the only mappings of direction of investment and classification that actually work.
{
"inward": [
"Country",
"CountrybyType",
"CountryofUBO",
"CountryofUBObyIndustry",
"countryofUBObyType",
"Industry",
"IndustrybyType",
"StatebyType",
"TypeofExpenditure"
],
"outward": [
"Country",
"Industry"
],
"parent": [
"Country",
"CountryofUBO",
"IndustryofSales"
]
}Yet there 4 types of directions and many types of classifications. These are the only ones which do not fail for ALL year which are the required fields.
Please let me know the correct way of using this API to extract all MPE data that is available. Thanks!