Description Usage Arguments Details Value Examples
Searches cattle information from https://www.id.nlbc.go.jp/ by cattle identification numbers and output a csv file.
1 2 3 4 5 6 7 8 9 10 11 | cid_dialog(encoding = getOption("encoding"),
fileEncoding = getOption("encoding"))
cid_csv(input, output = "cattle_info.csv", append = T, col = 1,
skip = 0, nrows = -1, fileEncoding = getOption("encoding"), ...)
cid_vector(input, output = "cattle_info.csv", append = T,
fileEncoding = getOption("encoding"))
cid_clipboard(output = "cattle_info.csv", append = T,
fileEncoding = getOption("encoding"))
|
encoding |
Encoding of file names |
fileEncoding |
Encoding of the input/output file. See |
input |
Path to a input csv file ( |
output |
Path to a output csv file.
If |
append |
If an output file is already exist, append output file (T)
or create a new file (F). When |
col |
The column number of the input file contains cattle ID numbers. |
skip, nrows, ... |
Be passed to |
Searches and downloads cattle information from database of National Livestock Breeding Center, Japan (https://www.id.nlbc.go.jp/) by cattle identification numbers and outputs a csv file contains cattle information.
cid_dialog
opens dialog to choose an input file and an output file and set options. This one is most recommended.
cid_csv
uses a csv file as input.
cid_vector
uses a vector as input.
cid_clipboard
uses the clipboard as input.
Search speed is about 10-12 cattles/min.
A data.frame contains cattle information
1 2 3 4 5 6 7 | ## Not run:
cid_dialog()
## End(Not run)
id <- c(1083079037, 0123456789, 0396006198, 1389725782)
cid_vector(input = id, output = NULL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.