View source: R/ptt_save_load.R
ptt_save_data | R Documentation |
For now saves to shared teams Pellervon taloustutkimus - Datapankki/Tietokanta folder. The folder must be synced.
ptt_save_data(x, x_name = deparse1(substitute(x)), path = NULL)
ptt_read_data(
x_name,
region_level = NULL,
path = NULL,
only_names = FALSE,
only_codes = FALSE
)
x |
A data to save |
x_name |
A name of data. In saving defaults to a x object name. |
path |
A path to data folder. NULL saves to default PTT-database. |
region_level |
A region level(s) to read. |
ptt_read_data()
: Read data
test_dat <- data.frame(alue_name = factor(c("KOKO MAA", "Uusimaa")),
alue_code = factor(c("SSS", "MK01")),
a = c(1,2))
ptt_save_data(test_dat)
test_dat2 <- ptt_read_data("test_dat")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.