Rows: 393 Columns: 22
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
chr (14): ticker, name, incept_date, net_assets_as_of, asset_class, sub_asse...
dbl (8): gross_expense_ratio_percent, net_expense_ratio_percent, net_assets...
ℹ 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.
blackrock_etf_data <- blackrock_etf_data |># we are transforming both date columns (currently character strings) into date objects# so we can work with them.# this syntax is a bit confusing, but selects all columns containing `date` and applies# lubridate::mdy() function to them to turn them into date objects. mutate(across(contains("date"), lubridate::mdy)) |># Billions is a more useful magnitude than millions, so we'll create a column with # the assets in billions by dividing by `net_assets_millions` by 1,000 (10^3)# If we wanted trillions, we could divide by 1,000,000 (10^6)mutate(net_assets_usd_bn = net_assets_usd_mn/10^3) |># this column doesn't add anything to our analysis - it says that the data is from 8/30/22select(-net_assets_as_of)blackrock_etf_data <- blackrock_etf_data |>rename(co2_intensity = msci_weighted_average_carbon_intensity_tons_co2e_m_sales)
Warning: Returning more (or less) than 1 row per `summarise()` group was deprecated in
dplyr 1.1.0.
ℹ Please use `reframe()` instead.
ℹ When switching from `summarise()` to `reframe()`, remember that `reframe()`
always returns an ungrouped data frame and adjust accordingly.
`summarise()` has grouped output by 'year_launched'. You can override using the
`.groups` argument.
`geom_smooth()` using method = 'loess' and formula = 'y ~ x'
We discover that from 1995 to 2020, the value of net assets of ESG fund launched were lower and lower. This is a little bit strange as the value of net assets should be higher over time.
`geom_smooth()` using method = 'loess' and formula = 'y ~ x'
With a closer look at the relationship with the amount of fund launched and the time launched, we found that in recent years, there were indeed more ESG Fund launched, but their unit value was decreasing.