Title: | Interface to 'JDemetra+ 3.x' time series analysis software |
---|---|
Description: | Interface to 'JDemetra+ 3.x' (<https://github.com/jdemetra>) time series analysis software. It offers full access to txt, csv, xml and spreadsheets files which are meant to be read by JDemetra+ Graphical User Interface. |
Authors: | Jean Palate [aut], Alessandro Piovani [aut, cre], Tanguy Barthelemy [ctb, art] |
Maintainer: | Alessandro Piovani <[email protected]> |
License: | file LICENSE |
Version: | 3.4.0 |
Built: | 2025-04-01 09:20:39 UTC |
Source: | https://github.com/rjdverse/rjd3providers |
Generates a java moniker for the corresponding id
.spreadsheet_moniker(id)
.spreadsheet_moniker(id)
id |
Generates a java moniker for the corresponding id
.txt_moniker(id)
.txt_moniker(id)
id |
Title
set_spreadsheet_paths(paths)
set_spreadsheet_paths(paths)
paths |
Set the paths of the provider
set_xml_paths(paths)
set_xml_paths(paths)
paths |
set_xml_paths(system.file("examples", package = "rjd3providers"))
set_xml_paths(system.file("examples", package = "rjd3providers"))
Change the file of a moniker
spreadsheet_change_file(id, nfile, ofile = NULL)
spreadsheet_change_file(id, nfile, ofile = NULL)
id |
Identifier of the series (from its moniker) |
nfile |
New file name |
ofile |
Old file name. NULL or "" to change any file to the new file |
Title
spreadsheet_data( file, sheet = 1, period = 0, aggregation = c("None", "Sum", "Average", "First", "Last", "Max", "Min"), partialAggregation = FALSE, cleanMissings = TRUE, fullNames = FALSE )
spreadsheet_data( file, sheet = 1, period = 0, aggregation = c("None", "Sum", "Average", "First", "Last", "Max", "Min"), partialAggregation = FALSE, cleanMissings = TRUE, fullNames = FALSE )
fullNames |
set_spreadsheet_paths(system.file("examples", package = "rjd3providers")) xls_all <- spreadsheet_data("Insee.xlsx", 1)
set_spreadsheet_paths(system.file("examples", package = "rjd3providers")) xls_all <- spreadsheet_data("Insee.xlsx", 1)
Gets the list of the properties corresponding to the identifier of a moniker
spreadsheet_id_properties(id)
spreadsheet_id_properties(id)
id |
Title
spreadsheet_series( file, sheet = 1, series = 1, period = 0, aggregation = c("None", "Sum", "Average", "First", "Last", "Max", "Min"), partialAggregation = FALSE, cleanMissings = TRUE, fullName = TRUE )
spreadsheet_series( file, sheet = 1, series = 1, period = 0, aggregation = c("None", "Sum", "Average", "First", "Last", "Max", "Min"), partialAggregation = FALSE, cleanMissings = TRUE, fullName = TRUE )
fullName |
Generates the id corresponding to a list of properties
spreadsheet_to_id(props)
spreadsheet_to_id(props)
props |
Title
txt_change_file(id, nfile, ofile = NULL)
txt_change_file(id, nfile, ofile = NULL)
id |
Identifier of the series (from its moniker) |
nfile |
New file name |
ofile |
Old file name. NULL or "" to change any file to the new file |
Title
txt_content( file, fmt.locale = NULL, fmt.date = NULL, fmt.number = NULL, fmt.ignoreNumberGrouping = TRUE, gathering.period = 0, gathering.aggregation = c("None", "Sum", "Average", "First", "Last", "Max", "Min"), gathering.partialAggregation = FALSE, gathering.includeMissing = TRUE, charset = NULL, delimiter = c("TAB", "SEMICOLON", "COMMA", "SPACE"), txtQualifier = c("NONE", "QUOTE", "DOUBLE_QUOTE"), header = TRUE, skip = 0 )
txt_content( file, fmt.locale = NULL, fmt.date = NULL, fmt.number = NULL, fmt.ignoreNumberGrouping = TRUE, gathering.period = 0, gathering.aggregation = c("None", "Sum", "Average", "First", "Last", "Max", "Min"), gathering.partialAggregation = FALSE, gathering.includeMissing = TRUE, charset = NULL, delimiter = c("TAB", "SEMICOLON", "COMMA", "SPACE"), txtQualifier = c("NONE", "QUOTE", "DOUBLE_QUOTE"), header = TRUE, skip = 0 )
skip |
set_txt_paths(system.file("examples", package = "rjd3providers")) txt_all <- txt_content("ABS.csv", delimiter = "COMMA")
set_txt_paths(system.file("examples", package = "rjd3providers")) txt_all <- txt_content("ABS.csv", delimiter = "COMMA")
Title
txt_data( file, fmt.locale = NULL, fmt.date = NULL, fmt.number = NULL, fmt.ignoreNumberGrouping = TRUE, gathering.period = 0, gathering.aggregation = c("None", "Sum", "Average", "First", "Last", "Max", "Min"), gathering.partialAggregation = FALSE, gathering.includeMissing = TRUE, charset = NULL, delimiter = c("TAB", "SEMICOLON", "COMMA", "SPACE"), txtQualifier = c("NONE", "QUOTE", "DOUBLE_QUOTE"), header = TRUE, skip = 0 )
txt_data( file, fmt.locale = NULL, fmt.date = NULL, fmt.number = NULL, fmt.ignoreNumberGrouping = TRUE, gathering.period = 0, gathering.aggregation = c("None", "Sum", "Average", "First", "Last", "Max", "Min"), gathering.partialAggregation = FALSE, gathering.includeMissing = TRUE, charset = NULL, delimiter = c("TAB", "SEMICOLON", "COMMA", "SPACE"), txtQualifier = c("NONE", "QUOTE", "DOUBLE_QUOTE"), header = TRUE, skip = 0 )
skip |
set_txt_paths(system.file("examples", package = "rjd3providers")) all <- txt_data("ABS.csv", delimiter = "COMMA")
set_txt_paths(system.file("examples", package = "rjd3providers")) all <- txt_data("ABS.csv", delimiter = "COMMA")
Gets the list of the properties corresponding to the identifier of a moniker
txt_id_properties(id)
txt_id_properties(id)
id |
Title
txt_series( file, series, fmt.locale = NULL, fmt.date = NULL, fmt.number = NULL, fmt.ignoreNumberGrouping = TRUE, gathering.period = 0, gathering.aggregation = c("None", "Sum", "Average", "First", "Last", "Max", "Min"), gathering.partialAggregation = FALSE, gathering.includeMissing = TRUE, charset = NULL, delimiter = c("TAB", "SEMICOLON", "COMMA", "SPACE"), txtQualifier = c("NONE", "QUOTE", "DOUBLE_QUOTE"), header = TRUE, skip = 0 )
txt_series( file, series, fmt.locale = NULL, fmt.date = NULL, fmt.number = NULL, fmt.ignoreNumberGrouping = TRUE, gathering.period = 0, gathering.aggregation = c("None", "Sum", "Average", "First", "Last", "Max", "Min"), gathering.partialAggregation = FALSE, gathering.includeMissing = TRUE, charset = NULL, delimiter = c("TAB", "SEMICOLON", "COMMA", "SPACE"), txtQualifier = c("NONE", "QUOTE", "DOUBLE_QUOTE"), header = TRUE, skip = 0 )
skip |
set_txt_paths(system.file("examples", package = "rjd3providers")) txt_5 <- txt_series("ABS.csv", series = 15, delimiter = "COMMA")
set_txt_paths(system.file("examples", package = "rjd3providers")) txt_5 <- txt_series("ABS.csv", series = 15, delimiter = "COMMA")
Generates the id corresponding to a list of properties
txt_to_id(props)
txt_to_id(props)
props |
Change the file of a moniker
xml_change_file(id, nfile, ofile = NULL)
xml_change_file(id, nfile, ofile = NULL)
id |
Identifier of the series (from its moniker) |
nfile |
New file name |
ofile |
Old file name. NULL or "" to change any file to the new file |
Title
xml_content(file, charset = NULL)
xml_content(file, charset = NULL)
file |
set_xml_paths(system.file("examples", package = "rjd3providers")) xml_content("Prod.xml")
set_xml_paths(system.file("examples", package = "rjd3providers")) xml_content("Prod.xml")
Title
xml_data(file, collection = 1, charset = NULL, fullNames = FALSE)
xml_data(file, collection = 1, charset = NULL, fullNames = FALSE)
fullNames |
set_xml_paths(system.file("examples", package = "rjd3providers")) xml_all <- xml_data("Prod.xml", 1, charset = "iso-8859-1")
set_xml_paths(system.file("examples", package = "rjd3providers")) xml_all <- xml_data("Prod.xml", 1, charset = "iso-8859-1")
Gets the list of the properties corresponding to the identifier of a moniker
xml_id_properties(id)
xml_id_properties(id)
id |
set_xml_paths(system.file("examples", package = "rjd3providers")) xml_1_5 <- xml_series("Prod.xml", 1, 5, charset = "iso-8859-1") xml_id_properties(xml_1_5$moniker$id)
set_xml_paths(system.file("examples", package = "rjd3providers")) xml_1_5 <- xml_series("Prod.xml", 1, 5, charset = "iso-8859-1") xml_id_properties(xml_1_5$moniker$id)
Gets the name of the provider
xml_name()
xml_name()
xml_name()
xml_name()
Title
xml_series(file, collection = 1, series = 1, charset = NULL, fullName = TRUE)
xml_series(file, collection = 1, series = 1, charset = NULL, fullName = TRUE)
fullName |
set_xml_paths(system.file("examples", package = "rjd3providers")) xml_1_5 <- xml_series("Prod.xml", 1, 5, charset = "iso-8859-1")
set_xml_paths(system.file("examples", package = "rjd3providers")) xml_1_5 <- xml_series("Prod.xml", 1, 5, charset = "iso-8859-1")
Generates the id corresponding to a list of properties
xml_to_id(props)
xml_to_id(props)
props |
set_xml_paths(system.file("examples", package = "rjd3providers")) xml_1_5 <- xml_series("Prod.xml", 1, 5, charset = "iso-8859-1") q <- xml_id_properties(xml_1_5$moniker$id) q$series <- 50 xml_to_id(q)
set_xml_paths(system.file("examples", package = "rjd3providers")) xml_1_5 <- xml_series("Prod.xml", 1, 5, charset = "iso-8859-1") q <- xml_id_properties(xml_1_5$moniker$id) q$series <- 50 xml_to_id(q)