sampledata: Create sample dataset function

Description Usage Arguments Details Value Examples

Description

This is the code that creates a dataset of birthday analyzer.

Usage

1

Arguments

begin

A date in "yyyy-mm-dd" format

end

A date in "yyyy-mm-dd" format

frequency

A frequency of months or days

Details

This function takes the user to input two dates, first is the begin date and second is the end date. The function will return the data on one birthday of each month between the begin date and end date.

Value

a saved dataset from begin to end, one birthday out of every month's starsign, guarding element, birthstone, 3 friends, 2 foes, and 3 famous people of that year.

Examples

1
2
sampledata("1990-01-01","1992-01-01","months")
sampledata("1990-01-01","1992-01-01","days")

CherieYu/BirthdayAnalyzer documentation built on May 23, 2019, 6:05 p.m.