1

I need to put together a jsBin example that demonstrates a problem I'm having with some UI controls, which doesn't manifest itself with a only a few records. I need a dataset of about 3000-5000 rows in JSON format that can be obtained via a URL by an AJAX XHR call. Can someone suggest a website with possibly government or open-source data that can be used for such testing?

P.S. It can't just be a download of a zipped file that can be expanded into a JSON text file. I need a JSON XHR response.

P.P.S. Ideally it would have 50-75 distinct values in one of the columns so I could demonstrate a grouping/aggregation issue. Data by US State or by Zipccode within a state would be excellent.

P.P.P.S. I've been searching the internet and found this site, now trying to figure out how to get JSON instead of XML:

http://www.sba.gov/about-sba-services/7617#city-county-state

All you have to do is this:

http://www.sba.gov/about-sba-services/7617#city-county-state/NY.json

4

3 回答 3

3

你可以在这里找到很多开放数据

免费开放数据

于 2013-06-27T19:39:21.107 回答
1

Have you looked at Freebase there should be a query to get you that many rows and they offer json responses.

EDIT: Theres a similiar site DBPedia I built this query which will return JSON and has about 3k rows:

http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&query=select+distinct+%3FConcept+where+%7B%5B%5D+a+%3FConcept%7D+LIMIT+3000&format=json%2Fhtml&timeout=30000&debug=on

you can go here and customize the query if you need more data.

-Ken

于 2013-06-27T18:54:18.473 回答
0

为什么不创建一个带有 LOOP 的页面,它可以根据需要生成这些记录。不应该这么难。

也许是一个 Java Servlet。

于 2013-06-27T18:52:41.777 回答