Skip to main content

No project description provided

Project description

BEAquery

PyPI - Version PyPI - Python Version


Table of Contents

Installation


```console
pip install beaquery
```

## License

`beaquery` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.




##
## beafixedassets
##
usage: beafixedassets [-h] --tn TN --yr YR [--format {json,XML}]
[--csvfn CSVFN] [--dataset DATASET]
[--splitkey SPLITKEY] [--xkey XKEY] [--ykey YKEY]
[--unitskey UNITSKEY] [--htmlfn HTMLFN]

get BEA FixedAssets data

options:
-h, --help show this help message and exit
--tn TN FixedAssets table name
--yr YR year YYYY X or all
--format {json,XML} result format
--csvfn CSVFN name of file to store dataset CSV result
--dataset DATASET
--splitkey SPLITKEY table column name to use to split the table
--xkey XKEY table column name to use to plot the data
--ykey YKEY table column name to use to plot the data
--unitskey UNITSKEY table column name to use to label the data
--htmlfn HTMLFN name of file to store dataset HTML result


##
## beagdpbyind
##
usage: beagdpbyind [-h] [--dataset DATASET] --tid TID --indstry INDSTRY
--freq FREQ --yr YR [--format {json,XML}]
[--csvfn CSVFN] [--splitkey SPLITKEY] [--xkey XKEY]
[--ykey YKEY] [--unitskey UNITSKEY] [--htmlfn HTMLFN]

get BEA GDPbyIndustry data

options:
-h, --help show this help message and exit
--dataset DATASET
--tid TID table id
--indstry INDSTRY industry
--freq FREQ frequency M, Q, A or comma separated list
--yr YR year YYYY X or all
--format {json,XML} result format
--csvfn CSVFN name of file to store dataset CSV result
--splitkey SPLITKEY table column name to use to split the table
--xkey XKEY table column name to use to plot the data
--ykey YKEY table column name to use to plot the data
--unitskey UNITSKEY table column name to use to label the data
--htmlfn HTMLFN name of file to store dataset HTML result


##
## beaiip
##
usage: beaiip [-h] [--dataset DATASET] --toi TOI --comp COMP --freq FREQ
--yr YR [--format {json,XML}] [--csvfn CSVFN]
[--splitkey SPLITKEY] [--xkey XKEY] [--ykey YKEY]
[--unitskey UNITSKEY] [--htmlfn HTMLFN]

get BEA IIP data

options:
-h, --help show this help message and exit
--dataset DATASET
--toi TOI type of investment
--comp COMP composition
--freq FREQ frequency M, Q, A or comma separated list
--yr YR year YYYY X or all
--format {json,XML} result format
--csvfn CSVFN name of file to store dataset CSV result
--splitkey SPLITKEY table column name to use to split the table
--xkey XKEY table column name to use to plot the data
--ykey YKEY table column name to use to plot the data
--unitskey UNITSKEY table column name to use to label the data
--htmlfn HTMLFN name of file to store dataset HTML result


##
## beainputoutput
##
usage: beainputoutput [-h] [--dataset DATASET] --tid TID --yr YR
[--format {json,XML}] [--csvfn CSVFN]
[--splitkey SPLITKEY] [--xkey XKEY] [--ykey YKEY]
[--unitskey UNITSKEY] [--htmlfn HTMLFN]

get BEA InputOutput data

options:
-h, --help show this help message and exit
--dataset DATASET
--tid TID table id
--yr YR year YYYY X or all
--format {json,XML} result format
--csvfn CSVFN name of file to store dataset CSV result
--splitkey SPLITKEY table column name to use to split the table
--xkey XKEY table column name to use to plot the data
--ykey YKEY table column name to use to plot the data
--unitskey UNITSKEY table column name to use to label the data
--htmlfn HTMLFN name of file to store dataset HTML result


##
## beaissta
##
usage: beaissta [-h] [--dataset DATASET] --chan CHAN --dest DEST --indstry
INDSTRY --aoc AOC --yr YR [--format {json,XML}]
[--csvfn CSVFN] [--splitkey SPLITKEY] [--xkey XKEY]
[--ykey YKEY] [--unitskey UNITSKEY] [--htmlfn HTMLFN]

get BEA IntlServSTA data

options:
-h, --help show this help message and exit
--dataset DATASET
--chan CHAN channel
--dest DEST destination
--indstry INDSTRY industry
--aoc AOC area or country
--yr YR year YYYY X or all
--format {json,XML} result format
--csvfn CSVFN name of file to store dataset CSV result
--splitkey SPLITKEY table column name to use to split the table
--xkey XKEY table column name to use to plot the data
--ykey YKEY table column name to use to plot the data
--unitskey UNITSKEY table column name to use to label the data
--htmlfn HTMLFN name of file to store dataset HTML result


##
## beaistrade
##
usage: beaistrade [-h] [--dataset DATASET] --tos TOS [--tdir TDIR]
[--affl AFFL] [--aoc AOC] --yr YR [--format {json,XML}]
[--csvfn CSVFN] [--splitkey SPLITKEY] [--xkey XKEY]
[--ykey YKEY] [--unitskey UNITSKEY] [--htmlfn HTMLFN]

get BEA IntlServTrade data

options:
-h, --help show this help message and exit
--dataset DATASET
--tos TOS type of service
--tdir TDIR trade direction
--affl AFFL affiliation
--aoc AOC area or country
--yr YR year YYYY X or all
--format {json,XML} result format
--csvfn CSVFN name of file to store dataset CSV result
--splitkey SPLITKEY table column name to use to split the table
--xkey XKEY table column name to use to plot the data
--ykey YKEY table column name to use to plot the data
--unitskey UNITSKEY table column name to use to label the data
--htmlfn HTMLFN name of file to store dataset HTML result


##
## beaita
##
usage: beaita [-h] [--dataset DATASET] --indctr INDCTR --aoc AOC --freq
FREQ --yr YR [--format {json,XML}] [--csvfn CSVFN]
[--splitkey SPLITKEY] [--xkey XKEY] [--ykey YKEY]
[--unitskey UNITSKEY] [--htmlfn HTMLFN]

get BEA ITA data

options:
-h, --help show this help message and exit
--dataset DATASET
--indctr INDCTR ITA indicator
--aoc AOC ITA area or country
--freq FREQ frequency M, Q, A or comma separated list
--yr YR year YYYY X or all
--format {json,XML} result format
--csvfn CSVFN name of file to store dataset CSV result
--splitkey SPLITKEY table column name to use to split the table
--xkey XKEY table column name to use to plot the data
--ykey YKEY table column name to use to plot the data
--unitskey UNITSKEY table column name to use to label the data
--htmlfn HTMLFN name of file to store dataset HTML result


##
## beamne
##
usage: beamne [-h] [--dataset DATASET] --sid SID [--doi DOI] [--cls CLS]
[--cnt CNT] [--indstry INDSTRY] --yr YR [--format {json,XML}]
[--csvfn CSVFN] [--splitkey SPLITKEY] [--xkey XKEY]
[--ykey YKEY] [--unitskey UNITSKEY] [--htmlfn HTMLFN]

get BEA MNE data

options:
-h, --help show this help message and exit
--dataset DATASET
--sid SID MNE series id
--doi DOI direction of investment
--cls CLS classification
--cnt CNT country
--indstry INDSTRY industry
--yr YR year YYYY X or all
--format {json,XML} result format
--csvfn CSVFN name of file to store dataset CSV result
--splitkey SPLITKEY table column name to use to split the table
--xkey XKEY table column name to use to plot the data
--ykey YKEY table column name to use to plot the data
--unitskey UNITSKEY table column name to use to label the data
--htmlfn HTMLFN name of file to store dataset HTML result


##
## beanipa
##
usage: beanipa [-h] [--dataset DATASET] --tn TN [--showm SHOWM] --freq FREQ
--yr YR [--format {json,XML}] [--csvfn CSVFN]
[--splitkey SPLITKEY] [--xkey XKEY] [--ykey YKEY]
[--unitskey UNITSKEY] [--htmlfn HTMLFN]

get BEA NIPA data

options:
-h, --help show this help message and exit
--dataset DATASET
--tn TN NIPA table name
--showm SHOWM NIPA show millions
--freq FREQ frequency M, Q, A or comma separated list
--yr YR year YYYY X or all
--format {json,XML} result format
--csvfn CSVFN name of file to store dataset CSV result
--splitkey SPLITKEY table column name to use to split the table
--xkey XKEY table column name to use to plot the data
--ykey YKEY table column name to use to plot the data
--unitskey UNITSKEY table column name to use to label the data
--htmlfn HTMLFN name of file to store dataset HTML result


##
## beaniud
##
usage: beaniud [-h] [--dataset DATASET] --tn TN --freq FREQ --yr YR
[--format {json,XML}] [--csvfn CSVFN] [--splitkey SPLITKEY]
[--xkey XKEY] [--ykey YKEY] [--unitskey UNITSKEY]
[--htmlfn HTMLFN]

get BEA NIUnderlyingDetail data

options:
-h, --help show this help message and exit
--dataset DATASET
--tn TN NIUnderlyingDetail table name
--freq FREQ frequency M, Q, A or comma separated list
--yr YR year YYYY X or all
--format {json,XML} result format
--csvfn CSVFN name of file to store dataset CSV result
--splitkey SPLITKEY table column name to use to split the table
--xkey XKEY table column name to use to plot the data
--ykey YKEY table column name to use to plot the data
--unitskey UNITSKEY table column name to use to label the data
--htmlfn HTMLFN name of file to store dataset HTML result


##
## bearegional
##
usage: bearegional [-h] [--dataset DATASET] --tn TN --fips FIPS --lncd LNCD
--yr YR [--format {json,XML}] [--csvfn CSVFN]
[--splitkey SPLITKEY] [--xkey XKEY] [--ykey YKEY]
[--unitskey UNITSKEY] [--htmlfn HTMLFN]

get BEA Regional data

options:
-h, --help show this help message and exit
--dataset DATASET
--tn TN table name
--fips FIPS geo fips
--lncd LNCD line code
--yr YR year YYYY X or all
--format {json,XML} result format
--csvfn CSVFN name of file to store dataset CSV result
--splitkey SPLITKEY table column name to use to split the table
--xkey XKEY table column name to use to plot the data
--ykey YKEY table column name to use to plot the data
--unitskey UNITSKEY table column name to use to label the data
--htmlfn HTMLFN name of file to store dataset HTML result


##
## beaugdpbyind
##
usage: beaugdpbyind [-h] [--dataset DATASET] --tid TID --indstry INDSTRY
--freq FREQ --yr YR [--format {json,XML}]
[--csvfn CSVFN] [--splitkey SPLITKEY] [--xkey XKEY]
[--ykey YKEY] [--unitskey UNITSKEY] [--htmlfn HTMLFN]

get BEA UnderlyingGDPbyIndustry data

options:
-h, --help show this help message and exit
--dataset DATASET
--tid TID table id
--indstry INDSTRY industry
--freq FREQ frequency M, Q, A or comma separated list
--yr YR year YYYY X or all
--format {json,XML} result format
--csvfn CSVFN name of file to store dataset CSV result
--splitkey SPLITKEY table column name to use to split the table
--xkey XKEY table column name to use to plot the data
--ykey YKEY table column name to use to plot the data
--unitskey UNITSKEY table column name to use to label the data
--htmlfn HTMLFN name of file to store dataset HTML result


##
## beaqueryq
##
usage: beaqueryq [-h]
[--dataset {NIPA,NIUnderlyingDetail,MNE,FixedAssets,ITA,IIP,InputOutput,IntlServTrade,IntlServSTA,GDPbyIndustry,Regional,UnderlyingGDPbyIndustry,APIDatasetMetaData}]
[--tn TN] [--tid TID] [--sid SID] [--showm SHOWM]
[--freq FREQ] [--yr YR]
[--doi {inward,outward,parent,state}] [--cls CLS]
[--indstry INDSTRY] [--cnt CNT] [--indctr INDCTR]
[--aoc AOC] [--toi TOI] [--comp COMP] [--tos TOS]
[--tdir TDIR] [--affl AFFL] [--chan CHAN] [--dest DEST]
[--fips FIPS] [--lncd LNCD] [--csvfn CSVFN]
[--splitkey SPLITKEY] [--xkey XKEY] [--ykey YKEY]
[--unitskey UNITSKEY] [--htmlfn HTMLFN]
[--format {json,XML}] [--hierarchy] [--tableregister]

get BEA data

options:
-h, --help show this help message and exit
--dataset {NIPA,NIUnderlyingDetail,MNE,FixedAssets,ITA,IIP,InputOutput,IntlServTrade,IntlServSTA,GDPbyIndustry,Regional,UnderlyingGDPbyIndustry,APIDatasetMetaData}
dataset name
--tn TN NIPA NIUnderlyingDetail FixedAssets Regional table
name
--tid TID InputOutput GDPbyIndustry UnderlyingGDPbyIndustry
table id
--sid SID MNE series id
--showm SHOWM NIPA show millions
--freq FREQ frequency M, Q, A or comma separated list
--yr YR year YYYY X or all
--doi {inward,outward,parent,state}
MNE direction of investment
--cls CLS MNE classification
--indstry INDSTRY MNE IntlServSTA GDPbyIndustry UnderlyingGDPbyIndustry
Industry
--cnt CNT MNE country
--indctr INDCTR ITA indicator
--aoc AOC ITA IntlServTrade IntlServSTA area or country
--toi TOI IIP type of investment
--comp COMP IIP component
--tos TOS IntlServTrade type of service
--tdir TDIR IntlServTrade trade direction
--affl AFFL IntlServTrade affiliation
--chan CHAN IntlServSTA channel
--dest DEST IntlServSTA destination
--fips FIPS Regional geo FIPS
--lncd LNCD Regional line code
--csvfn CSVFN name of file to store dataset CSV result
--splitkey SPLITKEY table column name to use to split the table
--xkey XKEY table column name to use to plot the data
--ykey YKEY table column name to use to plot the data
--unitskey UNITSKEY table column name to use to label the data
--htmlfn HTMLFN name of file to store dataset HTML result
--format {json,XML} query result format
--hierarchy BEA data model
--tableregister get NIPA table register

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

beaquery-0.0.9.tar.gz (154.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

beaquery-0.0.9-py3-none-any.whl (168.0 kB view details)

Uploaded Python 3

File details

Details for the file beaquery-0.0.9.tar.gz.

File metadata

  • Download URL: beaquery-0.0.9.tar.gz
  • Upload date:
  • Size: 154.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for beaquery-0.0.9.tar.gz
Algorithm Hash digest
SHA256 16e8b5d547b8c19d5a45b52de51360335f1541808a7f582c9fd499e41bac9e3d
MD5 57c025563d1fcf5b3693f88f4fd0ff04
BLAKE2b-256 cb002d6af2436a83bef621b37c7b6ddc44efe7c79b68e9224ea1e2daeca3d51c

See more details on using hashes here.

File details

Details for the file beaquery-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: beaquery-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 168.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for beaquery-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 8abe431e184a3d98db391899709709fc60720dab9c4be3f5b2b213338f20939b
MD5 961c551f20f909c10db413b94482932e
BLAKE2b-256 8305813b587f53154e8e73f2a0ca0e7cd1648c027280024e052307e0671cede5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page