Feedbacks on the folder/data structure #2
bsantosh909
started this conversation in
Ideas
Replies: 1 comment 5 replies
-
I like the idea you're proposing! |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Guys 👋
We wanted to discuss with everyone about the folder and data structure that should be used for this repository.
Any feedbacks are welcome.
Data to be included in the repository
Our plan is to initially include only the static data (data that doesn't change over the period of time) in the repository. This is because having dynamic data requires lots of maintenance work.
Regarding the file format we have a poll open at #1. Make sure to share your thoughts on that as well.
Data format
We are thinking that for all the entities mentioned above, we can have a single file with data in it. (Cities file might be a bit bulky though).
Also for every top level entity we will add a unique ID. For e.g Bagmati province will have ID
id: province-3
.And in district object we will have something like
provinceId: province-3
so that we can merge the two entities if necessary.Basically like SQL's primary key, foreign key and join query.
Do let us know if you think this is correct or we should just include the name and few other details in the object itself.
Beta Was this translation helpful? Give feedback.
All reactions