mthelm85 / GeoWHD.jl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GeoWHD

Build Status

This package provides various functions for merging WHD geospatial data with BLS data. It allows users to easily retrieve, analyze, and visualize BLS data, based on WHD geographies.

Example Usage

using GeoWHD
using DataFrames

# Get office names
office_names = get_office_names()
regional_offices = office_names.regional_offices
district_offices = office_names.district_offices

# Get Local Area Unemployment Statistics (LAUS) data for the Seattle District Office
seattle_laus = LAUS("Seattle District Office")

# Plot the most recent unemployment rate by district office
unemployment = DataFrame(
    office=district_offices,
    unemployment_rate=[LAUS(ofc)[end, :unemployment_rate] for ofc in district_offices]
)

do_heatmap(unemployment; office_col=:office, data_col=:unemployment_rate, color_scheme=:reds)

Functions

  • CES: Retrives CES data for a given office.
  • LAUS: Retrieves LAUS data for a given office.
  • OEWS: Retrieves OEWS data for a given office.
  • QCEW: Retrieves QCEW data for a given office.
  • do_heatmap: Creates District Office heatmaps.
  • ro_heatmap: Creates Regional Office heatmaps.
  • msa_heatmap: Create MSA heatmaps which include WHD District Office information.
  • get_msas: Retrieve the MSA IDs.
  • get_office_names: Retrieves the names of the offices.

About

License:MIT License


Languages

Language:Julia 100.0%