Accessing BEA’s API through R

Here’s a simple script that pulls BEA data from its API into an R dataframe. The function below is written specifically for its NIPA tables – if you want data from the regional tables you’ll need to add a few parameters as arguments, but this is the basic gist of it.

How To Do A Reverse DCF

For other posts in the series, follow the links below. I am a fan of the discounted cash flow valuation method. It isn’t perfect, but it also isn’t as horrible as a lot of people make it out to be. With everything, there is a strength and weakness.