Skip to content

Instantly share code, notes, and snippets.

@maurolepore
Created December 5, 2023 11:36
Show Gist options
  • Save maurolepore/44d720a2277991dde1012b60ad658164 to your computer and use it in GitHub Desktop.
Save maurolepore/44d720a2277991dde1012b60ad658164 to your computer and use it in GitHub Desktop.
devtools::load_all()
#> ℹ Loading tiltIndicator
options(width = 200)

example_companies()
#> # A tibble: 1 × 8
#>   companies_id clustered activity_uuid_product_uuid sector subsector tilt_sector tilt_subsector type 
#>   <chr>        <chr>     <chr>                      <chr>  <chr>     <chr>       <chr>          <chr>
#> 1 a            a         a                          total  energy    a           a              ipr

example_companies(companies_id = c("a", "b"))
#> # A tibble: 2 × 8
#>   companies_id clustered activity_uuid_product_uuid sector subsector tilt_sector tilt_subsector type 
#>   <chr>        <chr>     <chr>                      <chr>  <chr>     <chr>       <chr>          <chr>
#> 1 a            a         a                          total  energy    a           a              ipr  
#> 2 b            a         a                          total  energy    a           a              ipr

example_scenarios()
#> # A tibble: 1 × 6
#>   sector subsector year  reductions type  scenario
#>   <chr>  <chr>     <chr> <chr>      <chr> <chr>   
#> 1 total  energy    2050  1          ipr   a

example_products()
#> # A tibble: 1 × 5
#>   activity_uuid_product_uuid tilt_sector unit  isic_4digit co2_footprint
#>   <chr>                      <chr>       <chr> <chr>               <dbl>
#> 1 a                          a           a     1234                    1

example_inputs()
#> # A tibble: 1 × 10
#>   activity_uuid_product_uuid input_activity_uuid_product_uuid input_tilt_sector input_tilt_subsector input_unit input_isic_4digit input_co2_footprint type  sector subsector
#>   <chr>                      <chr>                            <chr>             <chr>                <chr>      <chr>                           <dbl> <chr> <chr>  <chr>    
#> 1 a                          a                                a                 a                    a          1234                                1 ipr   total  energy

Created on 2023-12-05 with reprex v2.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment