的问题
呼叫api https://data.medicare.gov/resource/4pq5-n9py.json返回不稳定结果。
{
...
"reported_cna_staffing_hours_per_resident_per_day" : "2.53304",
"cycle_2_number_of_complaint_health_deficiencies" : "2017-06-22T00:00:00",
"cycle_2_health_deficiency_score" : "0",
...
}
我相信cycle_2_number_of_complaint_health_deficiencies
应该是一个数字。网站上的数据是正确的,因此我假设这是API
似乎将字段定义为浮动时间戳。它看起来像人类可读名称Rating Cycle 1 Standard Survey Health Date
不同于您在API调用中看到的API名称。看起来这是混淆命名惯例的问题。
查看基础API名称的元数据页面。