Problems browsing API & also string/array bugs

Hi all, 

first time posting, looked through the past posts but couldn't see solutions for this; If I search for 'Rochdale' http://data.gov.uk/api/action//package_search?q=Rochdale I can see a result (the 4th item in the array) that doesn't see to have any resources associated with it, it's just some meta data without a URL to any site or asset: http://data.gov.uk/api/action/package_show?id=6675884c-6a49-4895-8b0f-397cb190b457

Am I missing something or is there a lot of incorrect data in the database? On a similar note the 'mandate' field is sometimes a String and other times an Array: 

mandate: [
"Transparency Code 2014"
],

usually seen as:

mandate: ""

Is this by design or an error?

Comments

> doesn't see to have any

> doesn't see to have any resources associated with it, it's just some meta data without a URL to any site or asset:

Yes, perhaps it's clearer if you view it on the website: http://data.gov.uk/dataset/procurement-card-transactions - Local authorities have to publish their procurement card transactions and they are making it clear they haven't got any.

> the 'mandate' field is sometimes a String and other times an Array

We recently did a migration of this field from string to array. But to save writing thousands of revisions changing "" to [], where there was no value provided, it is still stored as "".

 Flag as offensive