── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag() masks stats::lag()
ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
library(janitor)
Attaching package: 'janitor'
The following objects are masked from 'package:stats':
chisq.test, fisher.test
Rows: 355 Columns: 42
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
chr (12): Country, ISO2, ISO3, Indicator, Unit, Source, CTS_Code, CTS_Name, ...
dbl (30): ObjectId, F1985, F1986, F1987, F1990, F1991, F1992, F1993, F1994, ...
ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
indicators_we_want <-c("Green Bond Issuances by Country", "Sovereign Green Bond Issuances")green_bond_subset <- green_bond |>clean_names() |>mutate(region =countrycode(iso2, "iso2c", "region"), .before = iso2) green_bond_subset
# A tibble: 355 × 43
object_id country region iso2 iso3 indicator unit source cts_code cts_name
<dbl> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
1 1 Argent… Latin… AR ARG Green Bo… Bill… Refin… ECFFI Green B…
2 2 Austra… East … AU AUS Green Bo… Bill… Refin… ECFFI Green B…
3 3 Austria Europ… AT AUT Green Bo… Bill… Refin… ECFFI Green B…
4 4 Austria Europ… AT AUT Sovereig… Bill… Refin… ECFF Green B…
5 5 Bangla… South… BD BGD Green Bo… Bill… Refin… ECFFI Green B…
6 6 Belaru… Europ… BY BLR Green Bo… Bill… Refin… ECFFI Green B…
7 7 Belaru… Europ… BY BLR Sovereig… Bill… Refin… ECFF Green B…
8 8 Belgium Europ… BE BEL Green Bo… Bill… Refin… ECFFI Green B…
9 9 Belgium Europ… BE BEL Sovereig… Bill… Refin… ECFF Green B…
10 10 Bermuda North… BM BMU Green Bo… Bill… Refin… ECFFI Green B…
# ℹ 345 more rows
# ℹ 33 more variables: cts_full_descriptor <chr>, type_of_issuer <chr>,
# use_of_proceed <chr>, principal_currency <chr>, f1985 <dbl>, f1986 <dbl>,
# f1987 <dbl>, f1990 <dbl>, f1991 <dbl>, f1992 <dbl>, f1993 <dbl>,
# f1994 <dbl>, f1999 <dbl>, f2000 <dbl>, f2002 <dbl>, f2003 <dbl>,
# f2004 <dbl>, f2007 <dbl>, f2008 <dbl>, f2009 <dbl>, f2010 <dbl>,
# f2011 <dbl>, f2012 <dbl>, f2013 <dbl>, f2014 <dbl>, f2015 <dbl>, …
# A tibble: 7 × 2
region cumulative_issuance
<chr> <dbl>
1 East Asia & Pacific 586.
2 Europe & Central Asia 1395.
3 Latin America & Caribbean 99.8
4 Middle East & North Africa 10.3
5 North America 239.
6 South Asia 15.0
7 Sub-Saharan Africa 16.2
# A tibble: 7 × 2
region cumulative_issuance
<chr> <dbl>
1 Europe & Central Asia 1395.
2 East Asia & Pacific 586.
3 North America 239.
4 Latin America & Caribbean 99.8
5 Sub-Saharan Africa 16.2
6 South Asia 15.0
7 Middle East & North Africa 10.3