The AKesp package queries ESP data from the AKFIN web server. The ESP data can be used with the functions in this package to make an ESP report, but of course it can also be used for other purposes. See here for documentation of get_esp_data(), the data querying function.

dat <- AKesp::get_esp_data("Alaska Sablefish")
head(dat)
#> # A tibble: 6 × 30
#>    YEAR INDICA…¹ DATA_…² DATA_…³ DATAB…⁴ PRODUCT PRODU…⁵ INDIC…⁶ CATEG…⁷ CONTACT
#>   <int> <chr>      <dbl> <chr>   <chr>   <chr>   <chr>   <chr>   <chr>   <chr>  
#> 1  2021 Annual_… 1267240 AFSC G… GOA Ar… Annual… Arrowt… Ecosys… Upper … Kalei …
#> 2  2020 Annual_… 1294430 AFSC G… GOA Ar… Annual… Arrowt… Ecosys… Upper … Kalei …
#> 3  2019 Annual_… 1314860 AFSC G… GOA Ar… Annual… Arrowt… Ecosys… Upper … Kalei …
#> 4  2018 Annual_… 1336650 AFSC G… GOA Ar… Annual… Arrowt… Ecosys… Upper … Kalei …
#> 5  2017 Annual_… 1363850 AFSC G… GOA Ar… Annual… Arrowt… Ecosys… Upper … Kalei …
#> 6  2016 Annual_… 1402090 AFSC G… GOA Ar… Annual… Arrowt… Ecosys… Upper … Kalei …
#> # … with 20 more variables: FREQUENCY <chr>, REGION <chr>, TIME_START <chr>,
#> #   TIME_END <chr>, AKFIN <chr>, ESR <chr>, REFERENCE <chr>, PRELIMINARY <chr>,
#> #   REPORT_CARD_TITLE <chr>, INTENDED_ESP_NAME <chr>, SUBMISSION_YEAR <chr>,
#> #   GATE1_YEAR <chr>, GATE2_YEAR <chr>, REMOVED_YEAR <chr>, SIGN <int>,
#> #   WEIGHT <int>, UNITS <chr>, INDICATOR_ORDER <dbl>, STATUS_TRENDS <chr>,
#> #   INFLUENTIAL_FACTORS <chr>, and abbreviated variable names ¹​INDICATOR_NAME,
#> #   ²​DATA_VALUE, ³​DATA_SOURCE_NAME, ⁴​DATABASE_NAME, ⁵​PRODUCT_DESCRIPTION, …