Description Usage Arguments Details Value Examples
View source: R/molitCommerce.R
molitCommerce function import the actual transition data of house. The function also provide simple visualization using plotly.
1 2 | molitCommerce(key, year, month = NULL, localeCode = NULL,
localeName = NULL, slow = F, viz = F)
|
key |
character value. API key issued from <www.data.go.kr> |
year |
numeric value. the year of real trade |
month |
numeric value. the month of real trade. default is NULL |
localeCode |
numeric value. SiGunGu code which means legal area. |
localeName |
character value. SiGunGu name wich means legal area. It should be Korean. |
slow |
logical value. if TRUE, give sleep inbetween importing. default is FALSE |
viz |
logical value. if TRUE, provide simple 3d visualization result. x: date, y: price, z: the number of contract. |
If month value is NULL, all data of the year will imported.
Between localeCode and localeName, one of these parameters should be inserted.
The localeCode parameter recommended five numeric value.
two data.frame for meta-data and imported data. two vectors for error urls and all urls. visualization.
1 2 3 4 5 6 7 | # example 1 searching by localeCode.
data <- molitCommerce(key = "my_key", year = 2018, month = 1,
localeCode = 11110, slow = T, viz = F)
# example 2 searching by localeName
data <- molitCommerce(key = "my_key", year = 2018, month = 1:6,
localeName = enc2utf8("서울"), slow = F, viz = T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.