dv_read_sq | R Documentation |
Read a team roster (*.sq) file
dv_read_sq(
filename,
do_transliterate = FALSE,
encoding = "guess",
date_format = "guess",
surname_case = "asis",
verbose = FALSE
)
filename |
string: file name to read |
do_transliterate |
logical: should we transliterate all text to ASCII? |
encoding |
character: text encoding to use. Text is converted from this encoding to UTF-8. A vector of multiple encodings can be provided, and this function will attempt to choose the best. If encoding is "guess", the encoding will be guessed |
date_format |
string: the expected date format (used for dates of birth). One of "ymd", "mdy", "dmy", or "guess". If |
surname_case |
string or function: should we change the case of player surnames? If |
verbose |
logical: if |
A list with two components: "team" and "players", both of which are data frames
## Not run:
x <- dv_read_sq("/path/to/my/roster_file")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.