-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #489 from Vizzuality/feat/ascor-country-visibility…
…-status feat: Adding visibility status to ASCOR countries
- Loading branch information
Showing
24 changed files
with
87 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
db/migrate/20240206094238_add_visibility_status_to_ascor_countries.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class AddVisibilityStatusToASCORCountries < ActiveRecord::Migration[6.1] | ||
def change | ||
add_column :ascor_countries, :visibility_status, :string, index: true, default: 'draft' | ||
ASCOR::Country.update_all visibility_status: 'published' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
Id,Name,Country ISO code,Region,World Bank lending group,International Monetary Fund fiscal monitor category,Type of Party to the United Nations Framework Convention on Climate Change | ||
1,United States,USA,North America,High-income,Advanced economies,Annex I | ||
2,Japan,JPN,Asia,High-income,Advanced economies,Annex I | ||
3,France,FRA,Europe,High-income,Advanced economies,Annex I | ||
4,Italy,ITA,Europe,High-income,Advanced economies,Annex I | ||
5,Egypt,EGY,Africa,Lower-middle-income,Emerging market economies,Non-Annex I | ||
6,Uruguay,URY,Latin America and Caribbean,High-income,Emerging market economies,Non-Annex I | ||
7,Saudi Arabia,SAU,Asia,High-income,Emerging market economies,Non-Annex I | ||
8,Australia,AUS,Oceania,High-income,Advanced economies,Annex I | ||
9,Mexico,MEX,Latin America and Caribbean,Upper-middle-income,Emerging market economies,Non-Annex I | ||
10,China,CHN,Asia,Upper-middle-income,Emerging market economies,Non-Annex I | ||
11,Poland,POL,Europe,High-income,Emerging market economies,Annex I | ||
12,Indonesia,IDN,Asia,Upper-middle-income,Emerging market economies,Non-Annex I | ||
13,Kazakhstan,KAZ,Asia,Upper-middle-income,Emerging market economies,Non-Annex I | ||
14,Canada,CAN,North America,High-income,Advanced economies,Annex I | ||
15,Thailand,THA,Asia,Upper-middle-income,Emerging market economies,Non-Annex I | ||
16,Chile,CHL,Latin America and Caribbean,High-income,Emerging market economies,Non-Annex I | ||
17,South Africa,ZAF,Africa,Upper-middle-income,Emerging market economies,Non-Annex I | ||
18,Brazil,BRA,Latin America and Caribbean,Upper-middle-income,Emerging market economies,Non-Annex I | ||
19,Kenya,KEN,Africa,Lower-middle-income,Low-income developing countries,Non-Annex I | ||
20,Morocco,MAR,Africa,Lower-middle-income,Emerging market economies,Non-Annex I | ||
21,Germany,DEU,Europe,High-income,Advanced economies,Annex I | ||
22,United Kingdom,GBR,Europe,High-income,Advanced economies,Annex I | ||
23,India,IND,Asia,Lower-middle-income,Emerging market economies,Non-Annex I | ||
24,Barbados,BRB,Latin America and Caribbean,High-income,Emerging market economies,Non-Annex I | ||
25,Bangladesh,BGD,Asia,Lower-middle-income,Low-income developing countries,Non-Annex I | ||
Id,Name,Country ISO code,Region,World Bank lending group,International Monetary Fund fiscal monitor category,Type of Party to the United Nations Framework Convention on Climate Change,Visibility status | ||
1,United States,USA,North America,High-income,Advanced economies,Annex I,published | ||
2,Japan,JPN,Asia,High-income,Advanced economies,Annex I,published | ||
3,France,FRA,Europe,High-income,Advanced economies,Annex I,published | ||
4,Italy,ITA,Europe,High-income,Advanced economies,Annex I,published | ||
5,Egypt,EGY,Africa,Lower-middle-income,Emerging market economies,Non-Annex I,published | ||
6,Uruguay,URY,Latin America and Caribbean,High-income,Emerging market economies,Non-Annex I,published | ||
7,Saudi Arabia,SAU,Asia,High-income,Emerging market economies,Non-Annex I,published | ||
8,Australia,AUS,Oceania,High-income,Advanced economies,Annex I,published | ||
9,Mexico,MEX,Latin America and Caribbean,Upper-middle-income,Emerging market economies,Non-Annex I,published | ||
10,China,CHN,Asia,Upper-middle-income,Emerging market economies,Non-Annex I,published | ||
11,Poland,POL,Europe,High-income,Emerging market economies,Annex I,published | ||
12,Indonesia,IDN,Asia,Upper-middle-income,Emerging market economies,Non-Annex I,published | ||
13,Kazakhstan,KAZ,Asia,Upper-middle-income,Emerging market economies,Non-Annex I,published | ||
14,Canada,CAN,North America,High-income,Advanced economies,Annex I,published | ||
15,Thailand,THA,Asia,Upper-middle-income,Emerging market economies,Non-Annex I,published | ||
16,Chile,CHL,Latin America and Caribbean,High-income,Emerging market economies,Non-Annex I,published | ||
17,South Africa,ZAF,Africa,Upper-middle-income,Emerging market economies,Non-Annex I,published | ||
18,Brazil,BRA,Latin America and Caribbean,Upper-middle-income,Emerging market economies,Non-Annex I,published | ||
19,Kenya,KEN,Africa,Lower-middle-income,Low-income developing countries,Non-Annex I,published | ||
20,Morocco,MAR,Africa,Lower-middle-income,Emerging market economies,Non-Annex I,published | ||
21,Germany,DEU,Europe,High-income,Advanced economies,Annex I,published | ||
22,United Kingdom,GBR,Europe,High-income,Advanced economies,Annex I,published | ||
23,India,IND,Asia,Lower-middle-income,Emerging market economies,Non-Annex I,published | ||
24,Barbados,BRB,Latin America and Caribbean,High-income,Emerging market economies,Non-Annex I,published | ||
25,Bangladesh,BGD,Asia,Lower-middle-income,Low-income developing countries,Non-Annex I,published |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
Id,Name,Country ISO code,Region,World Bank lending group,International Monetary Fund fiscal monitor category,Type of Party to the United Nations Framework Convention on Climate Change | ||
,United States,USA,North America,High-income,Advanced economies,Annex I | ||
,Japan,JPN,Asia,High-income,Advanced economies,Annex I | ||
Id,Name,Country ISO code,Region,World Bank lending group,International Monetary Fund fiscal monitor category,Type of Party to the United Nations Framework Convention on Climate Change,Visibility stauts | ||
,United States,USA,North America,High-income,Advanced economies,Annex I,published | ||
,Japan,JPN,Asia,High-income,Advanced economies,Annex I,published | ||
,Poland,PLN,Asia,High-income,Advanced economies,Annex I,draft |