Description Usage Arguments Value Examples
The Y1
field holds the publication date information. This normally
contains a year, and sometimes also contains month, day, or season
information. This function extracts just the year and recodes it as a
Date
on the first day of the year.
1 | Y1_year(x)
|
x |
character vector (Y1 field) |
vector of Date
s corresponding to years
1 2 3 4 5 | ## Not run:
# To get at the messy finer-grained information, try:
str_split_fixed(x, coll("/"), 4)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.