statSearch {ecos} | R Documentation |
Search conditional statistics
Description
Search conditional statistics
Usage
statSearch(
stat_code,
item_code1,
item_code2 = "?",
item_code3 = "?",
item_code4 = "?",
cycle,
start_time,
end_time,
format = c("xml", "json"),
lang = c("kr", "en"),
count
)
Arguments
stat_code |
A string specifying the statistical table code |
item_code1 |
A string specifying the statistical item 1 code |
item_code2 |
A string specifying the statistical item 2 code |
item_code3 |
A string specifying the statistical item 3 code |
item_code4 |
A string specifying the statistical item 4 code |
cycle |
A string specifying the cycle (Annual: A, Semi-Annual: S, Quarterly: Q, Monthly: M, Semi-Monthly: SM, Daily: D) |
start_time |
A string specifying the start date (according to cycle format: 2015, 2015S1, 2015Q1, 201501, 201501S1, 20150101, etc.) |
end_time |
A string specifying the end date (according to cycle format: 2015, 2015S1, 2015Q1, 201501, 201501S1, 20150101, etc.) |
format |
A string specifying the file format to process - xml, json |
lang |
A string specifying the language of result value - kr (Korean), en (English) |
count |
An integer specifying the number of requests |
Details
## Example statSearch(lang = "en", stat_code = "102Y004", item_code1 = "ABA1", cycle = "M", start_time = "196001", end_time = "201812")
Value
A data.frame object containing queried information