Skip to content

Download error for some surveys #23

@tokami

Description

@tokami

For most surveys, downloading with php script works well, but for some, there is a warning and zip file is empty, e.g.

tmp <- DATRAS::downloadExchange("ROCKALL", 2008)

Warning says:

Getting year 2008
PHP Warning:  Undefined array key 1 in /home/tobm/R/x86_64-pc-linux-gnu-library/4.5/DATRAS/datras.php on line 249
PHP Warning:  Undefined array key 1 in /home/tobm/R/x86_64-pc-linux-gnu-library/4.5/DATRAS/datras.php on line 250
PHP Warning:  Undefined array key 1 in /home/tobm/R/x86_64-pc-linux-gnu-library/4.5/DATRAS/datras.php on line 262
PHP Warning:  Undefined array key 1 in /home/tobm/R/x86_64-pc-linux-gnu-library/4.5/DATRAS/datras.php on line 263
PHP Warning:  Undefined array key 1 in /home/tobm/R/x86_64-pc-linux-gnu-library/4.5/DATRAS/datras.php on line 280
PHP Warning:  Undefined array key 1 in /home/tobm/R/x86_64-pc-linux-gnu-library/4.5/DATRAS/datras.php on line 281

Same warning for:

  • ROCKALL 2008, 2009
  • SP-ARSA 2022
  • SNS 2024
  • PT-IBTS 2021,2022
  • NS-IDPS 2013,2016

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions