Hi Folks,

Friends at Telangana Open Data Portal recently showed me recently how the
data posted there can be queried via API. This throws up good opportunities
to build pages/portals that combine multiple datasets together. (The portal
natively has great visualization tools but that is inside a dataset's page)
They will even be putting up datasets having lat-longs so there's good
mapping opportunities there.

I've shared details here:
https://github.com/datameet-pune/datameet-pune.github.io/issues/17

One example:
Monthly maximum temperature data: Query for district = Adilabad, and limit
to 2 results:

https://www.data.telangana.gov.in/api/action/datastore/search.json?resource_id=cc9950ce-89aa-455b-847b-d87756db8f91&district=adilabad&limit=2

You can play around with the last part of the URL to get different results.
The data can be pulled in with a simple GET fetch, can be done from simple
Javascript.

If you're interested in building something on this together, please let me
know.

-----------------
*GeoSpatial:*
If you know how to implement geospatial stuff on a DKAN platform and have
some prior experience in that, please share.

Example: Suppose there is a CSV dataset of public toilets with lat-longs.
We want to query to get all toilets withing 10km radius of a given
lat-long. We could pull in all the data and perform the geospatial
filtering at our end using libraries like turf.js, but it would be cool to
have the data portal itself also have such capabilities, plus if the
dataset is huge it's better to filter at server end. Then one could even
run a generic search like "give me all the data you have in these 50
datasets that's located within 10 km of this lat-long point".

--
Cheers,
Nikhil VJ
+91-966-583-1250
Pune, India
http://nikhilvj.co.in

-- 
Datameet is a community of Data Science enthusiasts in India. Know more about 
us by visiting http://datameet.org
--- 
You received this message because you are subscribed to the Google Groups 
"datameet" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to