RickWeber / EFW_clustering

Data, code, and extras for "Clusters of Economic Freedom Revisited"
1 stars 0 forks source link

Line 10 In Script0.R #1

Open ghost opened 3 years ago

ghost commented 3 years ago

https://github.com/RickWeber/EFW_clustering/blob/0fef4e89109c5050f2acd84d95d50fcc00763761/script0.R#L10

When "Run", issue on "mutate_if() in import_data.R Line 23.

Ignores the following grouping variables: Column 'year' .

Joining, by = c("year", "iso3c") Joining, by = c("year", "iso3c") Joining, by = c("year", "iso3c", "country.efw", "EFW", "EFW1", "EFW2", "EFW3", "EFW4", "EFW5", "quartile") Joining, by = c("year", "iso3c", "country") Joining, by = c("year", "iso3c", "country")

Warning messages: 1: Problem with mutate() column iso3c. i iso3c = countrycode(region, "country.name", "iso3c"). i Some values were not matched unambiguously: Ascension Island, Azores, Barbuda, Bonaire, Canary Islands, Chagos Archipelago, Grenadines, Heard Island, Kosovo, Madeira Islands, Micronesia, Saba, Saint Martin, Siachen Glacier, Sint Eustatius, Virgin Islands

2: Problem with mutate() column iso3c. i iso3c = countrycode(country_fh, "country.name", "iso3c"). i Some values were not matched unambiguously: Kosovo, Micronesia, Serbia and Montenegro

3: Problem with mutate() column iso3c. i iso3c = countrycode(country, "country.name", "iso3c"). i Some values were not matched unambiguously: Arab States, Developing Countries, East Asia and the Pacific, Europe and Central Asia, High human development, Human Development, Latin America and the Caribbean, Least Developed Countries, Low human development, Medium human development, Organization for Economic Co-operation and Development, Regions, Small Island Developing States, South Asia, Sub-Saharan Africa, Very high human development, World

ghost commented 3 years ago

Problem 1: Starts on Line 34 in import_data.R

Problem 2: Starts on Line 76 in import_data.R

Problem 3: Starts on Line 95 in import_data.R