tensorust reads the ‘Tensorust’ data API from R and returns tibbles. It covers three things:
Every call works without a key and returns a free preview, such as
the top 10 rows. With a key, the same call returns every row. Put the
key in your .Renviron file so it is never in your
scripts:
TENSORUST_API_KEY=tdk_your_key_here
Keys are at https://shop.tensorust.com/offers/enterprise-api.
tr_credit_disagreements() lists the companies whose loan
two or more BDC managers mark 10 or more points of par apart, widest gap
first.
gaps <- tr_credit_disagreements()
gaps[, c("company", "gap_points", "lowest_manager", "lowest_mark_pct_of_par",
"highest_manager", "highest_mark_pct_of_par")]
#> # A tibble: 5 × 6
#> company gap_points lowest_manager lowest_mark_pct_of_par highest_manager highest_mark_pct_of_…¹
#> <chr> <dbl> <chr> <dbl> <chr> <dbl>
#> 1 Assembly … 80.2 Goldman 19.8 Morgan Stanley 100
#> 2 Norvax LLC 69 Blue Owl 16.5 Midcap 85.5
#> 3 US Telepa… 55 Capital South… 40.4 Main Street 95.4
#> 4 Research … 53.5 Blackrock 41 Prospect 94.5
#> 5 Florida F… 48.6 Ares 50 Bc Partners 98.6
#> # ℹ abbreviated name: ¹highest_mark_pct_of_partr_lender_marks() shows every fund’s mark for the
companies you name. It takes a vector, and the query column
records which name each row answers.
tr_lender_marks("Pluralsight")
#> # A tibble: 1 × 10
#> query company fund manager mark_pct_of_par prior_mark_pct_of_par sep30_mark_pct_of_par par_usd
#> <chr> <chr> <chr> <chr> <dbl> <lgl> <lgl> <lgl>
#> 1 Plurals… Plural… BLAC… Blackr… 80.8 NA NA NA
#> # ℹ 2 more variables: filing <lgl>, as_of <date>tr_q3_cuts() follows the third-quarter 10-Qs as they
post. Each row is a fund that cut its mark by 5 or more points from June
30 to September 30. holders_not_filed_yet_above counts the
other lenders that have not filed yet and still carry the same loan
higher, which is where the next cut is likely to show up.
cuts <- tr_q3_cuts()
cuts[, c("company", "manager", "jun30_pct_of_par", "sep30_pct_of_par",
"change_points", "filed")]
#> # A tibble: 5 × 6
#> company manager jun30_pct_of_par sep30_pct_of_par change_points filed
#> <chr> <chr> <dbl> <dbl> <dbl> <date>
#> 1 Wash And Wax Holdings LLC Onex 95.1 16.8 -78.3 2026-11-02
#> 2 Paradigmatic Holdco Ares 100 39.2 -60.8 2026-10-27
#> 3 Diversified Consumer Services … Senior 85.6 24.9 -60.6 2026-11-13
#> 4 Diversified Consumer Services … Jeffer… 85.4 25 -60.4 2026-11-13
#> 5 Restoration LLC Bright… 100 40.7 -59.3 2026-11-12A quick summary by manager, in base R:
Ask for one institution’s awards:
stanford <- tr_exposure(institution = "Stanford University")
stanford[, c("award", "agency", "fy25_obligations", "vendors", "lists",
"in_force_or_no_grace")]
#> # A tibble: 3 × 6
#> award agency fy25_obligations vendors lists in_force_or_no_grace
#> <chr> <chr> <dbl> <chr> <chr> <lgl>
#> 1 2146755 National Science Foundation 39195833 dji 1260… TRUE
#> 2 UM1TR004921 Department of Health and Human Se… 10023873 novoge… 1260… FALSE
#> 3 P30GM133894 Department of Health and Human Se… 5401092 bgi, n… 1260… TRUEOr for the largest awards on one list. The totals across every
matching award come back in the summary attribute:
on_1260h <- tr_exposure(list = "1260H", limit = 3)
on_1260h[, c("award", "recipient", "vendors", "rule_status")]
#> # A tibble: 3 × 4
#> award recipient vendors rule_status
#> <chr> <chr> <chr> <chr>
#> 1 UM1AI068636 UNIVERSITY OF CALIFORNIA, LOS ANGELES novogene BIOSECURE-851: grace_eligible
#> 2 2146755 THE LELAND STANFORD JUNIOR UNIVERSITY dji ASDA-1825: in_force_no_new_funds; FCC-…
#> 3 2141064 MASSACHUSETTS INSTITUTE OF TECHNOLOGY unitree FCC-COVERED: informational
str(attr(on_1260h, "summary"))
#> List of 9
#> $ query :List of 1
#> ..$ list: chr "1260H"
#> $ awards : int 4439
#> $ fy25 : num 3.57e+09
#> $ in_force_awards : int 919
#> $ in_force_fy25 : int 967192539
#> $ narrow_awards : int 1479
#> $ narrow_fy25 : int 1339389271
#> $ likely_paid_awards: int 873
#> $ likely_paid_fy25 : int 300085298catalog <- tr_datasets()
catalog[, c("slug", "name", "category")]
#> # A tibble: 3 × 3
#> slug name category
#> <chr> <chr> <chr>
#> 1 upper-c-band-fleet-files Upper C-band Fleet Files other
#> 2 private-credit-marks Private Credit Marks other
#> 3 contractor-credit Contractor Credit otherDatasets with a free sample have a sample_csv link.
tr_sample() reads it:
farmland <- tr_sample("afida-foreign-farmland")
farmland[, c("state", "county", "parcels", "acres_total_foreign")]
#> # A tibble: 5 × 4
#> state county parcels acres_total_foreign
#> <chr> <chr> <int> <dbl>
#> 1 Maine Aroostook 265 2085917
#> 2 Colorado Kiowa 464 555711
#> 3 Colorado Cheyenne 367 495577
#> 4 Maine Somerset 53 480049
#> 5 New Mexico Lincoln 38 409698