iclaims.example: Weekly Initial Claims of US Unemployment Benefits & Google...

iclaims.exampleR Documentation

Weekly Initial Claims of US Unemployment Benefits & Google Trends Queries

Description

A dataset containing the weekly initial claims for US unemployment benefits against a few related Google trend queries from Jan 2010 - June 2018. This aims to mimick the dataset from Scott and Varian (2014).

Usage

data("iclaims.example")

Format

A data frame with 443 rows and 5 variables with log-transformation

week

date of records starting by Mondays with US calendar format

claims

weekly initial claims of unemployment benefits in thousands

trend.unemploy

normalized trend queries retreived from gtrendsR API

trend.filling

normalized trend queries retreived from gtrendsR API

trend.job

normalized trend queries retreived from gtrendsR API

References

U.S. Employment and Training Administration, Initial Claims [ICNSA], retrieved from FRED, Federal Reserve Bank of St. Louis; https://fred.stlouisfed.org/series/ICNSA, October 27, 2018.

Trend queries from Google search engine. https://trends.google.com/trends/?geo=US

An interface for retrieving and displaying the information returned online by Google Trends is provided. Trends (number of hits) over the time as well as geographic representation of the results can be displayed. https://CRAN.R-project.org/package=gtrendsR

Scott, S. L. and Varian, H. R. (2014). Predicting the Present with Bayesian Structural Time Series. International Journal of Mathematical Modeling and Optimization 5 4–23.


Rlgt documentation built on Sept. 16, 2023, 1:08 a.m.