- contact: @lachlandeer
- 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.
- A BEA API key
- register here
- save the key in a variable called
my_bea_key
in filebeaKey.R
stored in the foldersrc/apiKey
- the package
bea.R
from CRANinstall.packages(bea.R)