Skip to content

Commit f44ed69

Browse files
committed
refactor
1 parent 601b2cc commit f44ed69

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

NAMESPACE

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export(calculate_co2_descriptive_analysis_per_benchmark)
44
export(calculate_trs_descriptive_analysis_per_tr_benchmark)
55
export(example_emission_product_best_case_worst_case)
66
export(example_emission_product_co2_des_analysis)
7+
export(example_sector_product_best_case_worst_case)
78
export(example_transition_risk_company_emission_avg_best_case_worst_case)
89
export(example_transition_risk_company_sector_avg_best_case_worst_case)
910
export(example_transition_risk_company_transition_risk_avg_best_case_worst_case)
@@ -36,7 +37,6 @@ importFrom(tiltIndicator,unnest_company)
3637
importFrom(tiltIndicator,unnest_product)
3738
importFrom(tiltIndicatorAfter,profile_emissions)
3839
importFrom(tiltIndicatorAfter,profile_sector)
39-
importFrom(tiltIndicatorAfter,transition_risk_profile)
4040
importFrom(tiltToyData,toy_ecoinvent_activities)
4141
importFrom(tiltToyData,toy_ecoinvent_europages)
4242
importFrom(tiltToyData,toy_ecoinvent_inputs)
@@ -47,4 +47,5 @@ importFrom(tiltToyData,toy_isic_name)
4747
importFrom(tiltToyData,toy_sector_profile_any_scenarios)
4848
importFrom(tiltToyData,toy_sector_profile_companies)
4949
importFrom(tiltTransitionRisk,toy_all_activities_scenario_sectors)
50+
importFrom(tiltTransitionRisk,transition_risk_profile)
5051
importFrom(utils,data)

R/tiltDataAnalysis-package.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
#' @importFrom tiltIndicator unnest_product
2323
#' @importFrom tiltIndicatorAfter profile_emissions
2424
#' @importFrom tiltIndicatorAfter profile_sector
25-
#' @importFrom tiltIndicatorAfter transition_risk_profile
2625
#' @importFrom tiltToyData toy_ecoinvent_activities
2726
#' @importFrom tiltToyData toy_ecoinvent_europages
2827
#' @importFrom tiltToyData toy_ecoinvent_inputs
@@ -33,6 +32,7 @@
3332
#' @importFrom tiltToyData toy_sector_profile_any_scenarios
3433
#' @importFrom tiltToyData toy_sector_profile_companies
3534
#' @importFrom tiltTransitionRisk toy_all_activities_scenario_sectors
35+
#' @importFrom tiltTransitionRisk transition_risk_profile
3636
#' @importFrom utils data
3737
## usethis namespace: end
3838
NULL

man/example_emission_product_co2_des_analysis.Rd

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vignettes/articles/descriptive-analysis-best_case_worst_case_sector_profile.Rmd

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ options(readr.show_col_types = FALSE)
3434

3535
```{r, warning=FALSE, echo=FALSE}
3636
# read_csv("transition_risk_profile_at_product_level_16_10_24.csv")
37-
sector_product_example <- read_csv("transition_risk_profile_at_product_level_16_10_24.csv")
38-
# example_sector_product_best_case_worst_case()
39-
# kable(emission_product_example |> head(20))
37+
sector_product_example <- example_sector_product_best_case_worst_case()
38+
kable(sector_product_example |> head(20))
4039
```
4140

4241
### Average `sector_profile_equal_weight` per grouping_sector and sector_category

0 commit comments

Comments
 (0)