-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Firstly, thank you for this very useful package!
I got an error when using pxR::read.px in order to read some PX files from the Swiss Federal Statistical Office (or BFS) online database (https://www.pxweb.bfs.admin.ch/).
I presume that the error comes from a missing na.strings from the pxR::read.px function: "....." (5 dots)
Would it be possible to fix this problem?
Many thanks in advance!
Example
library(pxR)
url <- "https://www.pxweb.bfs.admin.ch/DownloadFile.aspx?file=px-x-1604000000_104"
dataset <- pxR::read.px(url)
## Error in scan(tc, na.strings = na.strings, quote = NULL, quiet = TRUE) :
## scan() attendait 'a real' et a reçu '"....."'
Metadata
Metadata
Assignees
Labels
No labels