set_extrapolation_years_linear | R Documentation |
Sets the number of years to linearly extrapolate at dataset edges. Turns extrapolation on if it isn't already. Overrides the number of nearest years if set.
set_extrapolation_years_linear(session, years)
session |
A valid GDL session object to interface with. |
years |
Number of years to extrapolate (integer) |
An amended GDL session object.
## Not run:
# Create a session using your API token (provided by environment here)
session <- gdl_session(Sys.getenv('GDL_API_TOKEN'))
session <- set_extrapolation_years_linear(session, 3)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.