read_monthly_shop: Read Monthly Patterns from the SafeGraph Shop

Description Usage Arguments

View source: R/read_monthly_shop.R

Description

This function takes a monthly patterns file as downloaded from the SafeGraph shop and returns visits_by_day on a daily level in three formats: by NAICS code by state, by brand by state, and by sub_category by state. Plus, a normalization file.

Usage

1
read_monthly_shop(filename, dir = "./")

Arguments

filename

The filename of the ZIP file from the SafeGraph shop which contains patterns, normalization, etc.

dir

The directory in which the ZIP file sits.


NickCH-K/SafeGraphR documentation built on May 25, 2020, 1:55 a.m.