Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

blsjs

3.5.0 • Public • Published

Bureau Of Labor Statistics (BLS) CSV Data to JSON parser

Note: I published this npm module with some inspiration from mhkeller's own qcew npm module. My intent was to actually use the data for a Location Quotient and Shift Share Analysis.

I urge you to look at the repo and specifically the underlying index.js file and see if you need to edit some code to get the parsed data formatted someway.

npm install --save blsjs

import BLS from 'blsjs' || const BLS = require('blsjs');

Functions Available

  • All arguments are strings

  • specificIndustryLocalData BLS.specificIndustryLocalData(year, quarter, region, industry)

  • allLocalData BLS.allLocalData(year, quarter, region)

  • nationalIndustryData BLS.nationalIndustryData(year, quarter, industry)

  • allIndustriesNationalData BLS.allIndustriesNationalData(year, quarter)

  • allIndustryDataNationally BLS.allIndustryDataNationally(year, quarter, industry);

  • allRegionalCodes BLS.allRegionalCodes()

  • allIndustryCodes BLS.allIndustryCodes()

install

npm i blsjs

Downloadsweekly downloads

1

version

3.5.0

license

MIT

repository

githubgithub

last publish

collaborators

  • avatar