platform_season_history: Define historical data

View source: R/platform.R

platform_season_historyR Documentation

Define historical data

Description

For each season you can describe how data are organized

Usage

platform_season_history(season, dates, ...)

Arguments

season

name of the season. By convention it is the year number of the starting year (2011 for 2011-2012,...)

dates

list(start=, end=) starting & ending of each season, YYYY-MM-DD format

...

tables names for each survey containing data of the season in case of by-season storage model.

Data storage model

InfluezaNet data for a survey can be stored using 2 ways : - A single table contains data for all the seasons (if the survey didnt changed a lot) - A new table is created for each season for a given survey

See Also

Other platfom: platform_env(), platform_geographic_levels(), platform_geographic_tables(), platform_options()

Examples

## Not run: 
# Single table model
platfrom_season_history('2011', dates=list(start="2011-11-15", end="2012-04-15"))
platfrom_season_history('2012', dates=list(start="2012-11-15", end="2013-04-20"))

# Multiple table model
platfrom_season_history('2011',
     dates=list(start="2011-11-15", end="2012-04-15"),
     weekly="pollster_results_weekly_2011"
)
platfrom_season_history('2012',
     dates=list(start="2012-11-15", end="2013-04-20"),
     weekly="pollster_results_weekly_2012"
)

## End(Not run)

cturbelin/ifnBase documentation built on Aug. 26, 2024, 12:54 p.m.