datacommonsorg/docsite

API requires long-form decimal as parameter

Opened this issue · 0 comments

When running the cURL command curl --request GET \ --url 'https://api.datacommons.org/stat/value?place=country%2FGMB&stat_var=Amount_EconomicActivity_ExpenditureActivity_EducationExpenditure_Government_AsFractionOf_Amount_EconomicActivity_GrossDomesticProduction_Nominal&scalingFactor=100.0000000000', if I try to shorten the scalingFactor to 100.0, I get a response with 404 status code back telling me that no stat data has been found.