lgnbhl / BFS

🇨🇭Search and Download Data from the Swiss Federal Statistical Office
https://lgnbhl.github.io/BFS
GNU General Public License v3.0
19 stars 5 forks source link

bfs_get_catalog_data() and bfs_get_catalog_tables() not working #6

Closed lgnbhl closed 2 years ago

lgnbhl commented 2 years ago

Two functions are currently not working:

The break is due to the dependency tidyRSS::tidyfeed(), which is currently not working, i.e. https://github.com/RobertMyles/tidyRSS/issues/61.

As a result, the BFS package has been removed from CRAN.

For now, please use the bfs_number argument instead of the bfs_url argument when running the bfs_get_data() and bfs_get_comments() functions. Here an example:

bfs_get_data(number_bfs = "px-x-1502040100_131", language = "en")

More information about how to use the bfs_number argument can be found in the README: https://github.com/lgnbhl/BFS.

You can continue to use the BFS package and install it from GitHub by running:

# install from Github
devtools::install_github("lgnbhl/BFS")
lgnbhl commented 2 years ago

Now it is working, but for now only using GitHub version of the tidyRSS R package. Once the last version of tidyRSS is pushed on CRAN, BFS will be able to be put on CRAN again.

lgnbhl commented 2 years ago

fixed with last CRAN version of tidyRSS R package