Skip to content

an example to access the BEA API using the R package bea.R

Notifications You must be signed in to change notification settings

lachlandeer/bea-api-r

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Using bea.R to access the BEA's API with R

  • contact: @lachlandeer

What this repo does

  • Provide a simple example of how to get data from the BEA API using the bea.R package.
  • We pull regional GDP by state for each year and save it as a csv.

Requires:

  • A BEA API key
    • register here
    • save the key in a variable called my_bea_key in file beaKey.R stored in the folder src/apiKey
  • the package bea.R from CRAN
    • install.packages(bea.R)

About

an example to access the BEA API using the R package bea.R

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages