Nothing
px_data()
updates metadata to match new data frame. (#385 #396 #399)px_save()
on a px object that contains duplicates in
the data table. (#402)px_variable_label()
documentation.px()
supports URLs as input. (#353)px_save()
can save px object as an R script that, when run, regenerates the
px object. The implementation is not fully reliable; in some cases, running the
generated R script produces a slightly different px object. (#350)px_micro()
sometimes ordered variable references incorrectly in
CELLNOTES. (#348)dontrun
example from px_classification()
by updating package
files. (#346)validate =
option to all modifying functions to enable turning off
validation. (#332)px_classification()
and px_classification_save()
to create
and save classifications (value sets and aggregations). (#327)px_elimination()
, px_map()
, and px_domain()
now only sets value for
STUB/HEADING variables if value is character. (#325)px_micro()
by only setting stub once, instead of for all files.na_to_star
option to px_cellnote()
and px_cellnotex()
. (#335)px()
and px_save()
can write and read to and from .parquet
files.px_cellnote()
and px_cellnotex()
. (#289)px_language()
stops removing previously defined languages. (#297)px_micro()
used undefined function. (#290)px_stub()
,
px_heading()
, px_figures()
, px_timeval()
, px_add_totals()
, to align
with all other modifying functions. (#296)px_values()
, px_variable_label()
, px_data()
,
px_source()
.
(#291)population_gl
and greenlanders
. (#282)px_micro()
support multilingual keyword_values
arguments. (#306) px_micro()
documentation.px_add_totals()
now uses default value 'Total' if
x$variables2$elimination
is NA
. (#284)na.rm
argument to px_add_totalts()
.px()
can now take an Excel workbook without a 'Data' sheet, without
requiring that argument 'data' is supplied.This release contains a lot of breaking changes. This was done because a few functions had name clashes with popular packages. The prefix 'px_' was added to almost all functions to avoid this.
Because of this massive breaking change, a few other breaking changes were made as well, to create more intuitive naming and make the package more consistent.
px_
. E.g. change
stub()
to px_stub()
, heading()
to px_heading()
, etc.pxsave()
to px_save()
.micromake()
to px_micro()
.metamake()
, pxmake()
, make_template()
.x$codelists1
and x$codelists2
to x$cells1
and x$cells2
.x$acrosscell
to x$acrosscells
.x$variables1$type
to x$variables1$variable-type
.type="TIME"
in
Variables1.type
to variable-type
in variables1. (#261)variable-type
. (#265)map()
, baseperiod()
, domain()
, elimination()
,
descriptiondefault()
, order()
, precision()
, cellnote()
, cellnotex()
,
cfprices()
, stockfa()
, variable_type()
, contvariable()
. (#246) (#125)
(#223)micromake()
use furrr package to run in parallel. (#248)micromake()
removes headings if all figures are NA. (#250)cellnote()
can handle an empty data frame.stub(x)
returns
current STUB variables.pxsave()
automatically adds values if they aren't defined in codelists2.save_data
to pxsave()
to supress saving of 'Data' sheet in
Excel. (#204)data_path
to pxsave()
to save data table as an .rds file. (#204)last_updated()
, next_update()
, language()
,
languages()
, valuenote()
, valuenotex()
, contents()
, description()
,
subject_area()
, subject_code()
, title()
, units()
, aggregallowed()
,
autopen()
, axis_version()
, codepage()
, confidential()
, copyright()
,
showdecimals()
, tableid()
, update-frequency()
, contact()
, link()
,
note()
, notex()
, infofile()
.micromake()
used preserve HEADING variables, and produces PX-files for
all other variables.heading()
, stub()
and figures()
no longer modify order of
other variables. (#225)last_updated()
created wrong keyword (#233)last_updated()
modified wrong table.px(input)
can be a path to an .rds
file.px()
creates a px object. This is a major change to the way
package works. pxmake
and metamake
are soft deprecated. Use px()
and pxsave()
instead. (#197)charset()
, creation_date()
, decimals()
, matrix()
, stub()
, heading()
,
timeval()
, add_totals()
and figures()
. Many more need to be added in the
future, to cover all px keywords.pxmake()
nor
metamake()
can create them. pxmake() and metamake() can convert between Excel
and PX-files, and they return a px object invisibly. pxmake()
and metamake()
will be deprecated in the future.make_template()
will be deprecated in the future - px()
automatically
creates a metadata template if none is provided.micromake()
now takes a px object as input.add_totals()
now takes a px object as input.README.md
has been rewritten, and includes a list of all keywords with
modifying functions. All vignettes have been removed.README.md
is now created from README.Rmd
using knitr::knit()
.make_template
to create a minimial multilingual metadata template. (#186)micromake
to create many small PX-files from a large data set. See
vignette(micromake)
. (#176)create_data
argument to metamake
that can supress generation of data.metamake
accept a data frame as input and create a minimal metadata
template for the data.pxmake
and metamake
. (#37)pxmake
and metamake
read and write to .rds
files.pxmake
and metamake
and give helpful error messages.pxmake
and metamake
to improve readability.en","da","kl
, but can now be en,da,kl
.metamake
use value as code if code is missing.add_totals
.pxmake(source_data_path)
to source_data
(#71) metamake(out_path)
to xlsx_path
. (#106)metamake()
. (#100)rds_data_path
to metamake()
to save data as rds file. (#108)pxmake()
accept data frame as source data in addition to accepting a
path. (#71)readLines()
warning for missing EOL character. (#113).figures
to figures_
in metadata created by metamake()
. (#104)metamake()
support tables without time variables. (#120)source_data_path
is given, pxmake()
looks for a 'Data' sheet in the metadata and uses that instead.Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.