# Populate local datasource table dynamically

**URL:** <https://community.thunkable.com/t/populate-local-datasource-table-dynamically/2605749>\
**Category:** Questions about Thunkable X\
**Created:** [September 20, 2023, 8:22pm UTC](https://community.thunkable.com/t/populate-local-datasource-table-dynamically/2605749 "2023-09-20T20:22:43Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![steve\_synopsis](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@steve\_synopsis](https://community.thunkable.com/u/steve_synopsis)\
**Post date:** [September 22, 2023, 3:12pm UTC](https://community.thunkable.com/t/populate-local-datasource-table-dynamically/2605749/5 "2023-09-22T15:12:57Z")

</div>

Hi,

I came up with this so far

[https://x.thunkable.com/projects/650d9b530196d37537ea9c77/f0ee3329-ddd4-4e84-9c4c-92b4374e1dc1/blocks](https://x.thunkable.com/projects/650d9b530196d37537ea9c77/f0ee3329-ddd4-4e84-9c4c-92b4374e1dc1/blocks)

which extracts a specific row from the JSON response. I just dropped the responses in labels for testing purposes.

You can have a look [here](https://community.thunkable.com/t/reverse-geocoding-app-get-location-from-latitude-longitude/82343) for an explanation of parsing the data especially when it is in sub-trees.

Where I am stuck though, is trying to figure out how to return the number of entries under the [data] object so that you can loop through.

@tatiang responded to me in previous [post](https://community.thunkable.com/t/how-to-count-number-of-a-particular-item-in-a-json-response/2595732/4) about this, but I cannot get the correct set of blocks put together to return the 1001 result.

I am just a beginner so maybe someone else with more experience than myself can pitch in.

Steve

---

_[View the full topic](https://community.thunkable.com/t/populate-local-datasource-table-dynamically/2605749)._
