Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update lok_sabha.csv #372

Merged
merged 19 commits into from
Apr 26, 2024

Conversation

raghu1061998
Copy link
Contributor

Hi Team,
Please see the updates in the lok_sabha.csv line no 157 and 161 regarding the name and territory updates.

@raghu1061998
Copy link
Contributor Author

change in india ocdids in the loksabha.csv

Copy link

@rpanczer rpanczer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see comments

identifiers/country-in/lok_sabha.csv Outdated Show resolved Hide resolved
identifiers/country-in/lok_sabha.csv Outdated Show resolved Hide resolved
Copy link
Contributor

@azuser azuser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please run the compile.py script to reflect the change into identifiers/country-in.csv

identifiers/country-in/lok_sabha.csv Outdated Show resolved Hide resolved
identifiers/country-in/lok_sabha.csv Outdated Show resolved Hide resolved
@@ -549,9 +549,11 @@ ocd-division/country:in/territory:dl/cd:south_delhi,Delhi Lok Sabha constituency
ocd-division/country:in/territory:dl/cd:west_delhi,Delhi Lok Sabha constituency West Delhi,,
ocd-division/country:in/territory:dn/cd:dadra_and_nagar_haveli,Dadra and Nagar Haveli Lok Sabha constituency Dadra and Nagar Haveli (ST),,2020-01-25
ocd-division/country:in/territory:jk/cd:anantnag,Jammu and Kashmir Lok Sabha constituency Anantnag,2019-10-31,
ocd-division/country:in/territory:jk/cd:anantnag-rajouri,Jammu and Kashmir Lok Sabha constituency anantnag-rajouri,,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add the date from when the renaming was applied ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, please see the updates.

identifiers/country-in/lok_sabha.csv Outdated Show resolved Hide resolved
@@ -549,9 +549,11 @@ ocd-division/country:in/territory:dl/cd:south_delhi,Delhi Lok Sabha constituency
ocd-division/country:in/territory:dl/cd:west_delhi,Delhi Lok Sabha constituency West Delhi,,
ocd-division/country:in/territory:dn/cd:dadra_and_nagar_haveli,Dadra and Nagar Haveli Lok Sabha constituency Dadra and Nagar Haveli (ST),,2020-01-25
ocd-division/country:in/territory:jk/cd:anantnag,Jammu and Kashmir Lok Sabha constituency Anantnag,2019-10-31,
ocd-division/country:in/territory:jk/cd:anantnag-rajouri,Jammu and Kashmir Lok Sabha constituency anantnag-rajouri,2022-05-05,
ocd-division/country:in/territory:jk/cd:baramulla,Jammu and Kashmir Lok Sabha constituency Baramulla,2019-10-31,
ocd-division/country:in/territory:jk/cd:jammu,Jammu and Kashmir Lok Sabha constituency Jammu,2019-10-31,
ocd-division/country:in/territory:jk/cd:ladakh,Jammu and Kashmir Lok Sabha constituency Ladakh,2019-10-31,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the ladakh constituency attached to territory:jk.

identifiers/country-in/lok_sabha.csv Outdated Show resolved Hide resolved
identifiers/country-in/lok_sabha.csv Outdated Show resolved Hide resolved
ocd-division/country:in/territory:jk/cd:srinagar,Jammu and Kashmir Lok Sabha constituency Srinagar,2019-10-31,
ocd-division/country:in/territory:jk/cd:udhampur,Jammu and Kashmir Lok Sabha constituency Udhampur,2019-10-31,
ocd-division/country:in/territory:ld/cd:lakshadweep,Lakshadweep Lok Sabha constituency Lakshadweep (ST),,
ocd-division/country:in/territory:py/cd:puducherry,Puducherry Lok Sabha constituency Puducherry,,
ocd-division/country:in/territory:la/cd:ladakh,ladakh Lok Sabha constituency ladakh,2019-10-31,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add this new entry respecting the existing alphabetical order.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also use

Copy link
Contributor

@jloutsenhizer jloutsenhizer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After fixing the old Ladakh constituency OCD ID, also run the compile script for india to update the country-in.csv file

identifiers/country-in/lok_sabha.csv Show resolved Hide resolved
@jloutsenhizer
Copy link
Contributor

The changes look good, but compile.py still needs to be run

@jloutsenhizer
Copy link
Contributor

I see country-in.csv is updated, but the tests are still failing. Github is reporting all lines in the file are updated which is surprising. Could you double check the country-in.csv file? A possible issue could have been changes in the line break characters

@raghu1061998 raghu1061998 force-pushed the raghu1061998-patch-1 branch from e9e4abd to ea1f81e Compare April 25, 2024 18:05
Copy link
Member

@jpmckinney jpmckinney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In summary:

  • territory:jk/cd:ladakh was incorrectly entered as being valid from 2019-10-31, when in fact it was valid until 2019-10-30 and then replaced by territory:la/cd:ladakh, which was valid from 2019-10-31.
  • anantnag became anantnag-rajouri on 2022-05-05.

Please use the "Squash and merge" button option when merging, because 19 commits for 2 changes makes for a very strange version history.

@jloutsenhizer jloutsenhizer merged commit c3e633e into opencivicdata:master Apr 26, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants