A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/christopherkenny/baf below:

GitHub - christopherkenny/baf

baf

The goal of baf is to provide lightweight block assignment (and equivalence) files from the US Census Bureau.

You can install the development version of baf like so:

pak::pak('christopherkenny/baf')

The workhorse function for baf is the baf() function.

library(baf)

baf(state = 'NM', year = 2024, geographies = 'cd')
#> $CD118
#> # A tibble: 107,215 × 2
#>    GEOID           CDFP 
#>    <chr>           <chr>
#>  1 350010001071000 01   
#>  2 350010001071001 01   
#>  3 350010001071002 01   
#>  4 350010001071003 01   
#>  5 350010001071004 01   
#>  6 350010001071005 01   
#>  7 350010001071006 01   
#>  8 350010001071007 01   
#>  9 350010001071008 01   
#> 10 350010001071009 01   
#> # ℹ 107,205 more rows

By default, baf loads files to a temporary directory. To retain files across sessions, set the cache_to argument to a directory of your choosing. You can also set options(baf.use_cache = TRUE) to create a user-level cache that can persist across projects.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4