Unable to get all Open data

575
1
07-09-2018 07:12 AM
Ravi_ChandraMaddineni
New Contributor

Hello Team,

I am just working on Open data for a research project. I am just looking at your URL https://opendata.arcgis.com/data.json. I am getting 1000 datasets, but in your hub.arcgis.com portal it has more than 100K. Please let me know, how can I get more datasets apart from 1000.opendata‌arcgis opendata‌opendata api‌

0 Kudos
1 Reply
hoogw
by
New Contributor III

if you want to get all dataset, you can use 

xxxxxxx/api/v3/datasets

this gives you a paged, with start page, next page, end page link info at the bottom of json.  

you can follow those link to get next page, any page, or end page. 

============================================

Here is some my note:

// 2 record, of sample
https://hub.arcgis.com/data.json


// first 10 record, with first, next, last page link, page[number]=180756&page[size]=10
https://hub.arcgis.com/api/v3/datasets

===============================================

domain/data.json get first 1000 record, but, (so far only 867) get dataset-id,
https://geohub.lacity.org/data.json


/{id} get details of this-id
https://geohub.lacity.org/api/v2/datasets/4576606b612542ebafff232ee4609d3d_29


get first 10 datasets, with next page, lasts page, total page,
https://geohub.lacity.org/api/v3/datasets


=========================================
http://data-ral.opendata.arcgis.com/data.json
https://opendata.arcgis.com/api/v2/datasets?filter[source]=City%20of%20Raleigh

0 Kudos