Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add {tibble} as a dependency #32

Closed
wants to merge 89 commits into from
Closed

Add {tibble} as a dependency #32

wants to merge 89 commits into from

Commits on Sep 27, 2022

  1. import {tibble}, {pillar} and {vctrs}

    {pillar} and {vctrs} are the backbone for
    customizing tibbles. They are dependencies
    of the {tibble} package and therefore
    "free" once {tibble} is used as a dependency
    package of {STATcubeR}
    GregorDeCillia committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    873a23e View commit details
    Browse the repository at this point in the history
  2. + custom vector class for schema uris

    try this class only with sc_table_saved_list()
    for now
    GregorDeCillia committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    bc98e1d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fd22f68 View commit details
    Browse the repository at this point in the history
  4. sc_table_saved: normalize uri

    make sure the objects of class
    <sc_table_uri> are compatible with
    sc_table_saved()
    GregorDeCillia committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    1ca4d78 View commit details
    Browse the repository at this point in the history
  5. update namespaces

    - don't import {tibble} since currently,
      only {vctrs} and {pillar} is used
    - export as.character() for sc_schema_uri
    - re-roxygenize
    GregorDeCillia committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    88d0173 View commit details
    Browse the repository at this point in the history
  6. update language param to sc_headers(), sc_schema_catalogue()

    this is now handled as in sc_table(), od_table()
    and so on
    GregorDeCillia committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    a348d58 View commit details
    Browse the repository at this point in the history
  7. update links in docs

    if this package is roxygenized insie of the
    STAT firewall, the documentation links generated
    by sc_browse*() will point to the internal server
    
    re-roxygenize from the outside
    
    TODO: find a way to avoid this in the future. Maybe
    write a wrapper-function around devtools::document()
    which temporarily sets the env-var STATCUBER_IN_STAT
    GregorDeCillia committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    3b539eb View commit details
    Browse the repository at this point in the history
  8. prep NEWS for v0.5.1

    GregorDeCillia committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    ff8ad8a View commit details
    Browse the repository at this point in the history
  9. don't use ide:run in docs

    another tweak for cli::style_hyperlink(). Hopefully,
    this will get easier once these features mature
    GregorDeCillia committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    37d8460 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0147dc5 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2022

  1. mention COUNTs in docs for sc_table_custom()

    ad some notes that instead of VALUE and VALUESET
    it is also possible to use uris for COUNT
    resources in the "measures" parameter of
    sc_table_custom()
    GregorDeCillia committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    cc318c9 View commit details
    Browse the repository at this point in the history
  2. document error: cell limit exceeded (400)

    this error was overlooked when the
    error handling vignette was first written
    
    fortunately, the API does a good job
    of explaining the error in the json
    body of the response so the error
    handlerst do not need an upgrade
    
    [ci skip]
    GregorDeCillia committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    2a7a963 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    876450d View commit details
    Browse the repository at this point in the history
  4. add gallery of german example datasets

    the sc_table article now showcases the
    print methods for all the example
    datasets in german
    
    [skip ci]
    GregorDeCillia committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    c530abf View commit details
    Browse the repository at this point in the history
  5. add helper function for user agent

    [skip ci]
    GregorDeCillia committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    5a08065 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2022

  1. OGD: import de_desc and en_desc

    add those entries to the metadata.
    NOTE: columns 5 and 7 are not used
    in data.csv according the OGD standard
    but some internale datasets provide these columns and therefore they are
    imported as the description of the
    measure/classification
    GregorDeCillia committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    3eee18f View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2022

  1. v0.5.0.1, update NEWS

    add a patch release since the
    additional metadata are needed for a
    deployment
    
    NEWS for 0.5.0.1 and 0.5.1 will be
    merged when 0.5.1 is released
    GregorDeCillia committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    ff13176 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2022

  1. update STATcube links

    * since json-downloads requir a login,
      link to the login page
    * link to the documentation page instead
      of the manual
    GregorDeCillia committed Nov 24, 2022
    Configuration menu
    Copy the full SHA
    e2b7c74 View commit details
    Browse the repository at this point in the history
  2. no @internal in sc_table_custom()

    - remove @Keywords internal
    - add documentation for missing params
    
    [skip ci]
    GregorDeCillia committed Nov 24, 2022
    Configuration menu
    Copy the full SHA
    e93560b View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2022

  1. allow recodes in sc_table_custom()

    first attempt to resolve #33. Recodes
    can now be defined with an additional
    parameter. However, type-checking is
    very minimal.
    
    TODO:
    - better error handling when the
      request is constructed. This way
      users get quick and useful error
      messages - at least for semantic
      errors such as invalid usage of
      parameters
    - with this implementation, users will
      have to make sure that the parameters
      "recodes" and "dimensions" are
      consistent. Maybe simplify the usage
    - The naming sc_recode is almost
      conflicting with the class
      sc_recoder. Possibly rename this
      function
    - extend the custom tables article to
      showcase some usecases for recodes
      and add a short discussion about
      usage limits
    - maybe add sc_filter which only allows
      filter-type recodes and performs
      stricter type-checks?
    GregorDeCillia committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    341254d View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2022

  1. extend custom tables article with recodes

    showcase the usage of sc_recode in the
    web documentation.
    GregorDeCillia committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    0dac8e8 View commit details
    Browse the repository at this point in the history
  2. add typechecks to sc_table_custom()

    there are now several checks in place
    that throw warnings if inputs in
    sc_table_custom() or sc_recode() are
    of the wrong schema-type or if other
    inconsistencies are suspected. See
    the section called "error handling"
    in ?sc_table_custom for more details
    
    some of those warnings might be
    replaced with errors in the future
    
    part of #33
    GregorDeCillia committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    8d59925 View commit details
    Browse the repository at this point in the history
  3. require pillar 1.5.0

    add a minimum requirement to pillar
    for the version from 2021-02-22
    to make sure the S3 generics
    format_tbl_footer() is available
    GregorDeCillia committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    f157a40 View commit details
    Browse the repository at this point in the history
  4. import tibble generics via @import

    don't use the .onLoad hook with
    base::registerS3method but use the
    import via NAMESPACE (roxygen)
    instead
    
    [skip ci]
    GregorDeCillia committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    a0fbe4c View commit details
    Browse the repository at this point in the history
  5. prep NEWS and README for upcoming release

    [skip ci]
    GregorDeCillia committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    dc009c9 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2022

  1. allow json strings in sc_table()

    reimplements #36 with a slightly
    different approach in regards to
    naming
    GregorDeCillia committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    6b63a60 View commit details
    Browse the repository at this point in the history
  2. improve print method for OGD resouces

    links to cache files are now clickable and
    last_modified and cached can will be
    abbreviated if there is not enough horizontal
    space
    GregorDeCillia committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    d7e0833 View commit details
    Browse the repository at this point in the history
  3. cistomize print() for sc_schema_flatten()

    the resouce uris are now displayed similar
    to sc_schema()
    GregorDeCillia committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    38db405 View commit details
    Browse the repository at this point in the history
  4. devtools::document()

    re-sync the roxygen-generated files
    GregorDeCillia committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    5aa847a View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2022

  1. sc_table_custom(dry_run)

    add a new parameter `dry_run` to
    sc_table_custom() which allows to see what
    request is generated without actually sending
    it to the API
    
    with this option, all type-checks are still
    applied
    GregorDeCillia committed Dec 17, 2022
    Configuration menu
    Copy the full SHA
    3fb82be View commit details
    Browse the repository at this point in the history
  2. update custom tables article

    the new version now contains a section
    about typechecks
    
    heading levels are restructured to include
    <h2> and <h3>
    
    the intro paragraph correctly lists COUNT
    as a possible schema type for measures
    
    after most of the sc_table_custom() calls,
    a <details> tag is added which can be
    expanded to show the generated json request
    
    the recodes section now contains an
    introduction paragraph that outlines why
    filtering data on the server side might
    be desireable
    
    add <h2>further reading</h2> and link to
    the schema article as well as the article
    about the base class
    
    showcase more recoding features (total and
    "recoding accross hierarchies")
    GregorDeCillia committed Dec 17, 2022
    Configuration menu
    Copy the full SHA
    7ce363f View commit details
    Browse the repository at this point in the history
  3. fix usuage example

    the parameter `json_file` was recently
    renamed to `json`. Reflect this in the
    sc_table article
    GregorDeCillia committed Dec 17, 2022
    Configuration menu
    Copy the full SHA
    4da0e91 View commit details
    Browse the repository at this point in the history
  4. add "further reading" too sc_schema

    link to the custom tables article and the
    saved tables article which are both closely
    related to the schema endpoint
    GregorDeCillia committed Dec 17, 2022
    Configuration menu
    Copy the full SHA
    8568b1e View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2022

  1. + crossreferences last_error, table_custom

    link between those two articles in regards
    to the cell_count error
    GregorDeCillia committed Dec 18, 2022
    Configuration menu
    Copy the full SHA
    079159d View commit details
    Browse the repository at this point in the history
  2. sc_table_custom.Rmd: show json for all requests

    for consistency, also add show_json for the
    example request that uses COUNT-URIs
    GregorDeCillia committed Dec 18, 2022
    Configuration menu
    Copy the full SHA
    694bc10 View commit details
    Browse the repository at this point in the history
  3. add more links to sc_table_custom.Rmd

    link to the issue page and to the invalid
    json error message
    GregorDeCillia committed Dec 18, 2022
    Configuration menu
    Copy the full SHA
    e0a1993 View commit details
    Browse the repository at this point in the history
  4. update <h2> ids in sc_last_error.Rmd

    in case the error response from the API
    containes an "errorType", use this error
    type as a css id in the error handling
    article
    GregorDeCillia committed Dec 18, 2022
    Configuration menu
    Copy the full SHA
    00312de View commit details
    Browse the repository at this point in the history
  5. mention #35 in NEWS

    strictly speaking, this change is only
    available in master and not in this branch
    
    this will however be appropriate as soon as
    this branch is merged
    GregorDeCillia committed Dec 18, 2022
    Configuration menu
    Copy the full SHA
    adc3a83 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2022

  1. add support for iso dates

    time variables which use YYYYMMDD
    are now parsed into R datetime
    classes during import if
    classifications with 8 characters
    and only numbers in the codes are
    detected
    
    such datasets do not exist on the
    external OGD portal or STATcube yet but
    there are some internal datasets which
    are going to utilize these parsers
    GregorDeCillia committed Dec 30, 2022
    Configuration menu
    Copy the full SHA
    8701f0f View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2023

  1. v0.5.1

    GregorDeCillia committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    89755b4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3432712 View commit details
    Browse the repository at this point in the history
  3. upodate jenkins config

    GregorDeCillia committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    ea6bf24 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2023

  1. devtools::spell_check()

    apply spellchecks with the {spelling}
    package and define a wordlist so that
    the current codebase is typo-free
    
    TODO:
    there are now discrepancies between the
    wording and the codebase
    - sc_schema_catalogue() uses the english
      spelling catalogue instead of catalog.
      The same is true for od_catalogue()
    - inst/json_examples/accomodation.json
      should be accommodation (double m)
    Think about whether it makes sense to rename
    these things.
    GregorDeCillia committed Feb 20, 2023
    Configuration menu
    Copy the full SHA
    c49a649 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    33f3cf2 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #38 from statistikat/master

    update `{cli}` dependency
    GregorDeCillia committed Feb 20, 2023
    Configuration menu
    Copy the full SHA
    bff2954 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2023

  1. don't use data.frame()

    add a new helper function data_frame()
    which generates data frame objects
    and automatically takes care of some
    common points
    
    - to avoid problems with stringsAsFactors,
      use the vctrs constructor
    - add the "tbl" class to enable printing
      the data frames similar to tibbles
    
    this makes it possible to skip ssetting
    strngsAsFactors repedetly and also
    avoids some places where `class<-` was used
    previously
    GregorDeCillia committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    8b32c88 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2023

  1. Configuration menu
    Copy the full SHA
    93e74a1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d2d9992 View commit details
    Browse the repository at this point in the history
  3. skip example if no key available

    use another examplesIf clause to make
    sure devtoos::check() can be run
    without an API key
    GregorDeCillia committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    bed0b8e View commit details
    Browse the repository at this point in the history
  4. drop names in sc_recode

    if map is passed as a named vector,
    this is never supported. therefore,
    drop the names. This can be useful
    for subsetting schema objects via
    single square brackets
    GregorDeCillia committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    908ce3b View commit details
    Browse the repository at this point in the history
  5. don't drop unused levels in ogd fields

    dropping those levels causes hierachy
    information to become unavailable.
    some new client code now makes use
    of the hierarchies. The new behavior
    will generate the fiels as factor
    columns with unused factor levels.
    GregorDeCillia committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    a629296 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d3fbd98 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b2fbe08 View commit details
    Browse the repository at this point in the history
  8. show progress in od_catalogue()

    if json files are downloaded, use
    cli::progres_along() to show how many
    json files are still remaining
    GregorDeCillia committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    47ddfcc View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    dcdd0c0 View commit details
    Browse the repository at this point in the history
  10. drop unused parameter

    the (internal) function for parsing
    open data datasets used to have
    a parameter to check if levels
    were dropped. This is no longer
    necessary since a629296
    
    [ci skip]
    GregorDeCillia committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    cc90ae3 View commit details
    Browse the repository at this point in the history
  11. simplify pkgdown setup

    don't use registerS3Method for derived
    classes of data.frame since it does not
    seem to make any difference
    GregorDeCillia committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    b09b4cd View commit details
    Browse the repository at this point in the history
  12. add custom color palette for @examples

    the current palette of colors for
    sc_schema is only suited for dark
    editors. For now, add a light theme
    for the pkgdown reference pages
    
    TODO: once the annotation printing
    is implemented, think about adding
    a way to customize the color scheme
    in all STATcubeR. This could also
    take care of cli_theme_pkgdown()
    
    [ci skip]
    GregorDeCillia committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    e23601c View commit details
    Browse the repository at this point in the history
  13. use target=_blank for statcube links

    make sure the links to statcube in the
    schema vignette open in a new tab
    
    TODO: do this globally in R/df_print.R
    an also use target=_blank for OGD links
    
    [ci skip]
    GregorDeCillia committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    e95f5e4 View commit details
    Browse the repository at this point in the history
  14. build external links with devtools::document()

    assume that the environment where document()
    runs can be characterized by the NOT_CRAN
    flag being present (not necessarily FALSE or
    TRUE). This is to avoid having links to the
    editing server in the manpages and on pkgdown
    
    this will only matter if the docs are built
    inside the STAT firewall. If at some point,
    the docs are built via gh-actions, this can be
    reverted
    GregorDeCillia committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    737c1b4 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. allow node-types in sc_schema_flatten()

    the following expression will now show all
    folders from the catalogue
    
    sc_schema_catalogue() %>%
       sc_schema_flatten("FOLDER")
    
    previously, this would only have returned
    one entry containig the root folder because
    the recursion was stopped as soon as the
    appropriate schema type was detected
    
    this change also affects the schema types
    GROUP, MEASURE, FIELD and VALUESET in
    sc_schema_db() which can also have child nodes
    
    [ci skip]
    GregorDeCillia committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    ae80404 View commit details
    Browse the repository at this point in the history
  2. check arg 'type' in sc_schema_flatten()

    check the argument against the list of
    available schema types. the argument is
    now also coerced via toupper() because
    the spelling in schema uris uses lowercase
    GregorDeCillia committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    1567f61 View commit details
    Browse the repository at this point in the history
  3. + sentence on empty folders in sc_schema()

    [ci skip]
    GregorDeCillia committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    f7bdba4 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2023

  1. update sc_example("foregirn_trade.json")

    the nace classification in this database was
    updadet. Reflect this in the example request
    
    [ci skip]
    GregorDeCillia committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    72091bc View commit details
    Browse the repository at this point in the history
  2. Merge branch 'tibble_pkg'

    [ci skip]
    GregorDeCillia committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    a3f03a9 View commit details
    Browse the repository at this point in the history
  3. use output, not message in print method

    cli_text uses the message channel to
    generate the visible console outputs
    
    this is not what to exprect from a
    print method wich should always feed
    into stdout
    
    cli_text() is also used in other places
    of STATcubeR but always wrapped into
    cli_fmt() which means that output
    channels do not matter in those
    circumstances because the outputs are
    captured to be formatted elsewhere
    GregorDeCillia committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    a6cef70 View commit details
    Browse the repository at this point in the history
  4. add url for bug reports

    include another link to github into the
    DESCRIPTION metadata. this is common
    practice in most packages on CRAN
    
    [ci skip]
    GregorDeCillia committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    99659dc View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2023

  1. fix: sc_table_saved_list() and no tables

    if there are no saved tables, the
    previous version generated an error of
    the form "expected character but
    got list"
    
    now, a data.frame with zero rows is
    returned instead
    
    TODO: it is probably a good idea to
    replace sapply() by vapply() everywhere
    in STATcubeR. Most static code
    alanyzers recommend this.
    
    [ci skip]
    GregorDeCillia committed Mar 9, 2023
    Configuration menu
    Copy the full SHA
    2a6a9e1 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2023

  1. allow STAT_ prefix in od_table()

    there is a new namespace of datasets
    coming up which will use the STAT_
    prefix instead og OGD_ for the primary
    id of the dataset. Relax the input
    checks to allow OGD_ datasets to be
    fetched. For external users, this will
    only become relevant in a few months.
    GregorDeCillia committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    9ef5bbc View commit details
    Browse the repository at this point in the history
  2. od_table_local(): support $PublDateTime$

    some internal datasets now use
    $PublDateTime$ as a placeholder for
    the deployment timestamp. Make sure
    that those datasets can be used with
    STATcubeR
    
    The way this is implemented now,
    reading and resaving a dataset is not
    a no-op because the interpolated
    value will be written in place of the
    placholder. There might come a point
    where it makes sense to implement this
    differently in order to preserve the
    placeholder
    
    [ci skip]
    GregorDeCillia committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    b777af9 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2023

  1. try out new logo

    [ci skip]
    GregorDeCillia committed Mar 11, 2023
    Configuration menu
    Copy the full SHA
    08a5102 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2023

  1. add support for sdmx parsing

    this is the first step to resolving
    #27 by adding a function that creates
    sc_table() like objects based on sdmx
    archives
    
    The sdmx format contains all metadata
    that is necessary for STATcubeR to reuse
    the existing $tabulate() workflow and this
    first version already provides support for
    various features via the base class (sc_data)
    
    - $tabulate() to aggregate data
    - $total_codes() to set/unset total codes
    - $recoder to recode datasets (change labels)
      change codes, toggle visibility of
      elements, reorder elements, etc.
    - importing german and english labels
      simultaniously (both languages are included
      in a zip download) and allowing to swhitch
      between them using $language<-().
    
    New features
    - sdmx arcives provide a $parent column
      in the $fields() table which are used
      to represent hierarchical classifications.
      Previously, this was only possible with
      od_table()
    
    There are still some improvements. See
    the issue #27 for more details
    
    - properly parse time variables -
      currently they are treated as generic
      categories.
    - parse element annotations (detailed
      descriptions for classification
      elements) and add them to
      $field()$de_desc just like with
      OGD dataset
    - parse value annotations (see #39)
    - provide a print/fromat method
    - add a reasonable logic for total
      codes that takes the parent codes into
      account
    - fill meta$measures$fun and
      $meta$measures$precision based on
      the sdmx metadata
    - modify very long codes which use
      the @-symbol (probably for escapes)
    - extend documentation
    - possibly check SuperCROSS compability
    GregorDeCillia committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    f4e18ac View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2023

  1. sdmx: import x$field()$en_desc

    import annotations from the sdmx metadata
    and make them available as an additional
    column in field()
    GregorDeCillia committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    4640def View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    99ece7f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c283ff8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8072885 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3adf520 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    777f2dd View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2023

  1. gh-actions: bump ubuntu versions

    ubuntu 18.04 is no loger supported
    on gh-actions since 2023-04-01
    
    bump up all the version numbers by two
    years to check 22.04 and 20.04 instead
    of 20.04 and 18.04
    
    actions/runner-images#6002
    GregorDeCillia committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    335db57 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8e67fc8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    81e8a36 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2023

  1. sdmx: fix long-to-wide logic

    in cases where several measures and
    several fields are involved, the
    previous logic produced incorrect
    tabulations of the data
    GregorDeCillia committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    5342a12 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2555c20 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2023

  1. + print.sdmx_description()

    add a print mehod for descriptions
    of sdmx files which are accessible
    like so
    
    x <- sdmx_table(...)
    x$description
    GregorDeCillia committed May 10, 2023
    Configuration menu
    Copy the full SHA
    53fec1e View commit details
    Browse the repository at this point in the history
  2. sdmx_table: simplify codes

    for some reason, sdmx archives use
    escapes in the database ids such that
    some characters are substututed like
    this
    
        \x5f -> 5f@
    
    undo this in the parser for the
    underscore character, so the link
    in the print method correctly
    references a STATcube table
    
    also, shorten the codes used in
    $field()$code to omit everything
    before the underscore
    
    TODO: check if shortening field
    codes like this might lead to
    duplicate codes
    GregorDeCillia committed May 10, 2023
    Configuration menu
    Copy the full SHA
    215b05a View commit details
    Browse the repository at this point in the history
  3. v0.5.2

    GregorDeCillia committed May 10, 2023
    Configuration menu
    Copy the full SHA
    0eaca1b View commit details
    Browse the repository at this point in the history

Commits on May 11, 2023

  1. sdmx: fix code simplification

    avoid inconsistencies between
    x$code and x$field(). Before this fix
    simplification was only applied in
    x$field() because of the anyDulicated()
    check in sdmx_codes()
    
    related: 215b05a
    
    [skip ci]
    GregorDeCillia committed May 11, 2023
    Configuration menu
    Copy the full SHA
    ca0a399 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2023

  1. sdmx: unescape codes

    resolve escapes as in @f5@ -> \uf5
    for all codes in numeric columns
    
    currently, there are only certain
    symbols whitelisted which will be
    resolved like this. possible
    improvement: escape all character
    sequences of this form by using a
    regex
    
    [skip ci]
    GregorDeCillia committed May 17, 2023
    Configuration menu
    Copy the full SHA
    5e5aed6 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2023

  1. sd_table(): don't warn for missing \n

    suppress warnings if there is no newline
    character at the end of a json request
    file because that is the way the server
    formats those files in the download
    options
    
    STATcubeR started doing this with
    6b63a60
    
    [ci skip]
    GregorDeCillia committed May 22, 2023
    Configuration menu
    Copy the full SHA
    38d10f3 View commit details
    Browse the repository at this point in the history