Skip to contents

Bureau of Labor Statistics Unemployment Data

Usage

src_bls_unemployment_data(...)

Arguments

...

passed to readr::read_tsv just in case....

Examples


bls_unemployment = src_bls_unemployment_data()
#> INFO  [15:27:53.710] Starting bls_unemployment_data
#> INFO  [15:27:53.711] Reading url https://download.bls.gov/pub/time.series/la/la.series
#> INFO  [15:27:54.643] Reading url https://download.bls.gov/pub/time.series/la/la.footnote
#> INFO  [15:27:54.804] Reading url https://download.bls.gov/pub/time.series/la/la.data.64.County
#> INFO  [15:28:12.075] Reading url https://download.bls.gov/pub/time.series/la/la.data.65.City
#> INFO  [15:28:27.538] Completing bls_unemployment_data

colnames(bls_unemployment)
#>  [1] "series_id"      "year"           "period"         "value"         
#>  [5] "footnote_codes" "location_type"  "measure"        "location"      
#>  [9] "state"          "seasonal_adj"  

dplyr::glimpse(bls_unemployment)
#> Rows: 11,141,058
#> Columns: 10
#> $ series_id      <chr> "LAUCN010010000000003", "LAUCN010010000000003", "LAUCN0…
#> $ year           <dbl> 1990, 1990, 1990, 1990, 1990, 1990, 1990, 1990, 1990, 1…
#> $ period         <chr> "M01", "M02", "M03", "M04", "M05", "M06", "M07", "M08",…
#> $ value          <dbl> 6.5, 6.5, 5.7, 6.6, 6.0, 7.1, 6.0, 6.7, 7.3, 7.2, 6.3, …
#> $ footnote_codes <chr> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA,…
#> $ location_type  <chr> "county", "county", "county", "county", "county", "coun…
#> $ measure        <chr> "Unemployment Rate", "Unemployment Rate", "Unemployment…
#> $ location       <chr> "Autauga", "Autauga", "Autauga", "Autauga", "Autauga", …
#> $ state          <chr> "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "…
#> $ seasonal_adj   <lgl> FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE,…