| yearweek | R Documentation | 
Format a date to isoyear-isoweek
yearweek(x)
x | 
 Date(s) to be converted to isoyear-isoweek  | 
Returns x in format YYYYWW where WW is the isoweek and YYYY is the isoyear.
# yw <- simpleyearweek(date)
# x$yw <- simpleyearweek(x$date)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.