Skip to content

Commit

Permalink
Merge pull request #137 from ror-community/update-address-action
Browse files Browse the repository at this point in the history
Update address action
  • Loading branch information
lizkrznarich authored Apr 5, 2023
2 parents 0fc7551 + e9ee02f commit 937279d
Show file tree
Hide file tree
Showing 65 changed files with 4,910 additions and 4,917 deletions.
1 change: 0 additions & 1 deletion .github/workflows/generate_relationships.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install requests==2.23.0
pip install git+https://github.com/ror-community/update_address.git
curl https://raw.githubusercontent.com/ror-community/curation_ops/main/generate_relationships/generate_relationships.py -o generate_relationships.py
python generate_relationships.py relationships.csv
- name: commit error file
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/remove_relationships.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install requests==2.23.0
pip install git+https://github.com/ror-community/update_address.git
curl https://raw.githubusercontent.com/ror-community/curation_ops/main/remove_relationships/remove_relationships.py -o remove_relationships.py
python remove_relationships.py relationships.csv
- name: commit error file
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update_addresses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install requests==2.23.0
pip install git+https://github.com/ror-community@add-caching/update_address.git
curl https://raw.githubusercontent.com/ror-community/curation_ops/separate-address-update/update_address_only/update_addresses.py -o update_addresses.py
pip install git+https://github.com/ror-community/update_address.git
curl https://raw.githubusercontent.com/ror-community/curation_ops/main/update_address_only/update_addresses.py -o update_addresses.py
python update_addresses.py
- name: commit error file
if: ${{ steps.updateaddresses.outcome != 'success'}}
Expand Down
8 changes: 4 additions & 4 deletions rc-v1.1/new/003f21n80.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
"code": "AL.50"
},
"geonames_admin2": {
"name": "Tirana District",
"id": 3183879,
"ascii_name": "Tirana District",
"code": "AL.50.28"
"name": "Bashkia Tiranë",
"id": 10944420,
"ascii_name": "Bashkia Tiranë",
"code": "AL.50.10944420"
},
"nuts_level1": {
"name": null,
Expand Down
8 changes: 4 additions & 4 deletions rc-v1.1/new/00baf2h95.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@
"code": "ID.30"
},
"geonames_admin2": {
"name": null,
"id": null,
"ascii_name": null,
"code": null
"name": "Kota Bandung",
"id": 6559695,
"ascii_name": "Kota Bandung",
"code": "ID.30.3273"
},
"nuts_level1": {
"name": null,
Expand Down
6 changes: 3 additions & 3 deletions rc-v1.1/new/00ezf9p03.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@
"id": 710791,
"city": "Cherkasy",
"geonames_admin1": {
"name": "Cherkasy Oblast",
"ascii_name": "Cherkasy Oblast",
"name": "Cherkasy",
"ascii_name": "Cherkasy",
"id": 710802,
"code": "UA.01"
},
"geonames_admin2": {
"name": "Cherkasy Raion",
"id": 710795,
"ascii_name": "Cherkasy Raion",
"code": "UA.01.710795"
"code": "UA.01.7108"
},
"nuts_level1": {
"name": null,
Expand Down
4 changes: 2 additions & 2 deletions rc-v1.1/new/0458dap48.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"id": 2961423,
"city": "Sligo",
"geonames_admin1": {
"name": "Connaught",
"ascii_name": "Connaught",
"name": "Connacht",
"ascii_name": "Connacht",
"id": 7521313,
"code": "IE.C"
},
Expand Down
4 changes: 2 additions & 2 deletions rc-v1.1/new/05qj6w324.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"id": 2892794,
"city": "Karlsruhe",
"geonames_admin1": {
"name": "Baden-Württemberg",
"ascii_name": "Baden-Württemberg",
"name": "Baden-Wurttemberg",
"ascii_name": "Baden-Wurttemberg",
"id": 2953481,
"code": "DE.01"
},
Expand Down
180 changes: 90 additions & 90 deletions rc-v1.1/updates/00913gw18.json
Original file line number Diff line number Diff line change
@@ -1,95 +1,95 @@
{
"id": "https://ror.org/00913gw18",
"name": "Czech Academy of Sciences, Institute of Art History",
"email_address": null,
"ip_addresses": [],
"established": 1953,
"types": [
"Facility"
],
"relationships": [
{
"label": "Czech Academy of Sciences",
"type": "Parent",
"id": "https://ror.org/053avzc18"
}
],
"addresses": [
{
"lat": 50.08804,
"lng": 14.42076,
"state": null,
"state_code": null,
"city": "Prague",
"geonames_city": {
"id": 3067696,
"city": "Prague",
"geonames_admin1": {
"name": "Hlavní město Praha",
"id": 3067695,
"ascii_name": "Hlavní město Praha",
"code": "CZ.52"
},
"geonames_admin2": {
"name": null,
"id": null,
"ascii_name": null,
"code": null
},
"license": {
"attribution": "Data from geonames.org under a CC-BY 3.0 license",
"license": "http://creativecommons.org/licenses/by/3.0/"
},
"nuts_level1": {
"name": null,
"code": null
},
"nuts_level2": {
"name": null,
"code": null
},
"nuts_level3": {
"name": null,
"code": null
}
},
"postcode": null,
"primary": false,
"line": null,
"country_geonames_id": 3077311
}
],
"links": [
"https://www.udu.cas.cz"
],
"aliases": [
"Institute of Art History of the Czech Academy of Sciences"
],
"acronyms": [
"ÚDU AV ČR"
],
"status": "active",
"wikipedia_url": "",
"labels": [
{
"label": "Ústav dějin umění AV ČR",
"iso639": "cs"
}
],
"country": {
"country_name": "Czechia",
"country_code": "CZ"
},
"external_ids": {
"ISNI": {
"preferred": null,
"all": [
"0000 0001 0945 6678"
]
"id": "https://ror.org/00913gw18",
"name": "Czech Academy of Sciences, Institute of Art History",
"email_address": null,
"ip_addresses": [],
"established": 1953,
"types": [
"Facility"
],
"relationships": [
{
"label": "Czech Academy of Sciences",
"type": "Parent",
"id": "https://ror.org/053avzc18"
}
],
"addresses": [
{
"lat": 50.08804,
"lng": 14.42076,
"state": null,
"state_code": null,
"city": "Prague",
"geonames_city": {
"id": 3067696,
"city": "Prague",
"geonames_admin1": {
"name": "Hlavní město Praha",
"id": 3067695,
"ascii_name": "Hlavní město Praha",
"code": "CZ.52"
},
"geonames_admin2": {
"name": null,
"id": null,
"ascii_name": null,
"code": null
},
"GRID": {
"preferred": "grid.448078.7",
"all": "grid.448078.7"
"license": {
"attribution": "Data from geonames.org under a CC-BY 3.0 license",
"license": "http://creativecommons.org/licenses/by/3.0/"
},
"nuts_level1": {
"name": null,
"code": null
},
"nuts_level2": {
"name": null,
"code": null
},
"nuts_level3": {
"name": null,
"code": null
}
},
"postcode": null,
"primary": false,
"line": null,
"country_geonames_id": 3077311
}
],
"links": [
"https://www.udu.cas.cz"
],
"aliases": [
"Institute of Art History of the Czech Academy of Sciences"
],
"acronyms": [
"ÚDU AV ČR"
],
"status": "active",
"wikipedia_url": "",
"labels": [
{
"label": "Ústav dějin umění AV ČR",
"iso639": "cs"
}
],
"country": {
"country_name": "Czechia",
"country_code": "CZ"
},
"external_ids": {
"ISNI": {
"preferred": null,
"all": [
"0000 0001 0945 6678"
]
},
"GRID": {
"preferred": "grid.448078.7",
"all": "grid.448078.7"
}
}
}
Loading

0 comments on commit 937279d

Please sign in to comment.