diff --git a/docs/PxWeb2/project/Solution.md b/docs/PxWeb2/project/Solution.md deleted file mode 100644 index 410102c..0000000 --- a/docs/PxWeb2/project/Solution.md +++ /dev/null @@ -1,26 +0,0 @@ -# PxWeb 2 solution -In the project, we have made some choices about how we will work in the project across two countries, in order to create opportunities for other countries to contribute in the long term with both development and user testing of PxWeb 2.0. In addition, we have made some choices to find the best solution for installing PxWeb. All this to reach the main goal to create a user-friendly PxWeb. -## WCAG and Search Engine Optimization (SEO) -- The new interface will follow the rules for A and AA in [WCAG 2.1](https://www.w3.org/TR/WCAG21/) -- SEO is the use of methods that achieve better visibility or "ranking" on search engines result page. -## PxWeb 2.0 designsystem -We build a design system that can be used by all so the same components can be used for all px products so they get a common expression and be recognizable. -[Design system in Storybook](https://pxweb2.pages.dev/storybook/) -## Options in PxWeb 2.0 -Each organization should easily be able to adapt the interface a little, but it should still be possible to see that it is a Px-product. -The changes will be possible to introduce both before and after installation of PxWeb 2.0. -It will be possible to change -- colors -- font -- corner radius of the elements in the interface. -## Open source at GitHub -The new interface is able to install directly from GitHub. Also documentation is found here. -[PxTools at GitHub](https://www.pxtools.net/documentation/overview/) -## Usertest -We have been following following the UX design process in this project. -![The Ux design process](https://github.com/PxTools/PxWeb2/assets/81364833/8534bfdb-1d0c-49ef-8f2b-5b59357a37bf) -All the choices we made are based on user insigth. -The main focus has been navigation, understand the main fuctionaility in PxWeb and how the most used task should work. -We have several usertests during the project, both on desktop and mobile. -## Possibility for connection -In the PxWeb 2.0 interface, it is easy to connect other tools such as Highcharts, Tableau, Power BI and other AI products. This can be connected both by using saved queries from PxWeb 2.0 or by connecting directly to PxWebApi 2.0. diff --git a/docs/PxWeb2/project/demo.md b/docs/PxWeb2/project/demo.md new file mode 100644 index 0000000..a1ad94f --- /dev/null +++ b/docs/PxWeb2/project/demo.md @@ -0,0 +1,15 @@ +# Demo + +## The latest version at Github (with data from Statistics Sweden) +- [The latest version](https://pxweb2.pages.dev/en/) + +## PxWeb at Statistics Norway +- [Statbank Norway](https://www.ssb.no/statbank2/en/) +- From 29 January [Statbank Norway](https://www.ssb.no/statbank/) + +## Try it with your own data +You are free to test PxWeb2 with your own data. It works both with px-files and cnmm database +- [Read the documentation](https://www.pxtools.net/documentation/overview/) + +## Follow the releases +[Release versions](https://github.com/PxTools/PxWeb2/releases) diff --git a/docs/PxWeb2/project/introduction.md b/docs/PxWeb2/project/introduction.md new file mode 100644 index 0000000..cb695fa --- /dev/null +++ b/docs/PxWeb2/project/introduction.md @@ -0,0 +1,54 @@ +# What is PxWeb? +PxWeb is an open-source software for publishing and browsing statistical tables online, developed by Statistics Sweden and Statistics Norway. +You can customize PxWeb so it match your organisation’s visual profile, including colours, fonts, logo and icons. + +Its popularity comes from being: +- open-source, no license fees +- WCAG compliant +- lightweight, high performance +- mobile friendly +- designed specifically for statistics published by national statistical offices and other government agencies + +## PxWeb offers +### 1. A user centric approach to dissemination of statistics +PxWeb is developed with user needs at the forefront. We care about the professionals who uses PxWeb for work, but also more casual users who need statistics to make informed decisions in their daily lifes. +### 2. A multidimensional Table Engine +PxWeb handles datasets with many variables (e.g. year × region × sex). Users can +- Select which variables to include +- Filter or pivot data +- Generate a custom table +### 3. A built-in API +Every dataset published in PXWeb automatically gets an API endpoint, allowing; +- developers to access data programmatically +- integration with R, Python, Power BI, etc. +### 4. Standardised file format +PxWeb uses the px-file format, designed for statistical tables with: +- consistent metadata +- classifications +- variable hierarchies +- units, footnotes and descriptions +### 5. Support for two datasources +- Px-file database +- SQL database (accordning to Common Nordic data Model) +### 6. Multilingual support +Interfaces and metadata can be translated easily which is important for organisations serving multiple language groups. +### 7. Easy maintenance +Users can update datasets by: +- replacing px-files +- automating updates via scripts +- integrating PxWeb with internal production systems +### 8. Open-source complimentary applications +To facilitate the use of PxWeb, other organisations have developed complimentary open source Px-tools: +- PxWin - for browsing and editing px-files +- PxEdit and PxJob - For producing px-files +- PxGraph - For graphs and figures (requires a Highcharts lisence) + +### More information about tools for px-files +Statistics Sweden: +[Statistical programs for px-files](https://www.scb.se/en/services/statistical-programs-for-px-files/) +Statistics Finland: +[Px suite](https://stat.fi/tup/tilastotietokannat/px-tuoteperhe_en.html) + +## Contact for questions and comments +Please make an issue at Github with your question or comment about PxWeb +[Issues](https://github.com/PxTools/PxWeb2/issues) diff --git a/docs/PxWeb2/project/overview.md b/docs/PxWeb2/project/overview.md deleted file mode 100644 index 14567fd..0000000 --- a/docs/PxWeb2/project/overview.md +++ /dev/null @@ -1,14 +0,0 @@ -# Introduction to PxWeb 2 -PxWeb is an application for disseminating statistics in dynamic tables from an SQL or file-based database on the web. January 2024 to October 2025, Statistics Norway and Statistics Sweden collaborated in a joint project to create a new user-friendly interface based on PxWebApi 2, which was released In October 2025. - -## PxWeb demos -Latest version of PxWeb2: [PxWeb 2](https://pxweb2.pages.dev/en/) - -PxWeb at Statistics Norway: [Statbank Norway](https://www.ssb.no/statbank2/en/) - -## Release versions -- Follow the releases: [Version history](https://github.com/PxTools/PxWeb2/releases) - -## Contact for questions and comments -- Kristin Glomsås, Statistics Norway [kristin.glomsas@ssb.no](mailto:kristin.glomsas@ssb.no) -- Åsa Arrhén, Statistics Sweden [px@scb.se](mailto:px@scb.se) diff --git a/docs/PxWeb2/project/plans.md b/docs/PxWeb2/project/plans.md index f738029..5c71ed4 100644 --- a/docs/PxWeb2/project/plans.md +++ b/docs/PxWeb2/project/plans.md @@ -1,27 +1,26 @@ -# Plans +# Upcoming features -## Remaining to develop in PxWeb 2 +## Remaining to develop in PxWeb - Show PxWebApi 2 in PxWeb -- Button to improve table layout - DONE - Freeze table head -- Improve search at start page (search for content in tables) - Search in beginning of words in variable list - Hide empty rows from table - Chose to show code or text - Manual pivoting -- Possibility for text and links in Help -- Possibility for own link in logo - DONE -- Saved query as alternative to the algorithm (documentation) - DONE +- Possibility for bulk download of tables -## Further plan PxWeb 2.x +## Further plans for PxWeb 2.x - Graph - Hierarchy - Sort order - Sum - more... -## Releases in the project ---------------- +## Release versions +- Latest releases: [Version history](https://github.com/PxTools/PxWeb2/releases) +-------------------------------------------------------------------------------------------- +## Releases in the project + ## PxWeb 2 Release October 2025 - Startpage - Save to file diff --git a/docs/PxWeb2/project/process.md b/docs/PxWeb2/project/process.md index c5221e9..f6178b6 100644 --- a/docs/PxWeb2/project/process.md +++ b/docs/PxWeb2/project/process.md @@ -1,7 +1,7 @@ # The project New interface for PxWeb (January 2024 - October 2025) ## Background -The user interface in PxWeb "classic" could no longer be effectively developed due to technological limitations, and users needs and expectations are constantly changing so Statistics Sweden and Statistics Norway jointly initiated a project in January 2024. The aim of the project was to create a new user interface based on PxWebApi 2 and was released in its first version in October 2025. +The user interface in old PxWeb (latest versionj PxWeb 2025v1) could no longer be effectively developed due to technological limitations, and users needs and expectations are constantly changing so Statistics Sweden and Statistics Norway jointly initiated a project in January 2024. The aim of the project was to create a new user interface based on PxWebApi 2 and was released in its first version in October 2025. ### Goals of the Project The project had two goals - A new user-friendly interface for PxWeb based on PxWebApi 2 diff --git a/docs/PxWeb2/project/solution.md b/docs/PxWeb2/project/solution.md new file mode 100644 index 0000000..4c81711 --- /dev/null +++ b/docs/PxWeb2/project/solution.md @@ -0,0 +1,51 @@ +# Is PxWeb right for you? +PxWeb is open source and can be downloaded and customized without charge. However, this installation requires IT-skills. Also, to publish statistics in PxWeb you need to create px-files, either by technically integrating with your own IT environment using Python, R or similar, or by manually producing the files using the tool [PxEdit](https://stat.fi/tup/tilastotietokannat/px-tuoteperhe_en.html) Another solution is to use an SQL database, but this also requires in-house technical support. + +## PxWeb might be right for your organisation if: +### 1. Your tables are multidimensional +Unlike most open source data tools, PxWeb is custom made to deal with: +- multidimensional tables +- official metadata +- classifications and hierarchies +- table building +PxWeb is specially designed for disseminating official statistics and handles this without the need for adaptations. + +### 2. You want an analytical tool and not just static tables +Your users can among other things: +- Filter variables +- Pivot the table +- Make their own extractions +- Compare categories +Many open source tools only give the user static tables + +You want an automatic, metadata rich, built-in API for all your tables and datasets +Every time you publish a table in PxWeb, you also get an API. This is one of the main reasons economists, researchers, data scientists and financial journalists like PxWeb. + +### 3. You want mobile friendly data dissemination +Many argue that accessing official statistics and other multidimensional tables requires expert knowledge and a computer. We beg to differ. PxWeb provides users with an easy way to look up tables and data on the go using their mobile devices. + +### 4. You want a format which is tailor made for statistics +[The Px-format](https://www.scb.se/en/services/statistical-programs-for-px-files/px-file-format/) is: +- Structured for statistics +- Easy to version +- Rich on metadata +- Stable over time +- High perfomance. Px-files usually offer better performance than other, more complex, data formats such as SDMX. +Other solutions often require conversion to CSV/JSON without metadata, or complex data models. The px-format is what many described as developer friendly. It should be noted that for extremely large datasets, the px-format might be limited and you will need to establish another solution for that dataset. + +### 5. You want a stable, easy and low maintenance application +Pxweb is: +- Easy to install +- Easy to run +- Lightweight and requires limited server capacity +- Good performance +However, if you have a high number of datasets, manually producing it in PxEdit can be time consuming. To integrate with internal systems and to automate px-file production will require an IT investment. + +### 6. You want open source code, no licence fees and a chance to influence further development +- PxWeb is open source and several public organisations such as Statistics Sweden and Statistics Norway are collaborating in its continual development. This ensures longevity and predictability. +- Through our web community you can track what new features and changes are coming in the next release. You can also discuss technical issues you might have and propose new features. You can also attend our annual international Px-meeting. +- The metadata rich PxWebApi makes it easy for you to develop customized applications if you have specific needs. + +### 7. If you need a multilanguage dissemination system +Many public institutions and statistical agencies are required to support several languages. PxWeb supports this out of the box, whereas a lot of other applications requires more manual work, adaptations in existing publishing solutions etc. + diff --git a/docs/PxWeb2/project/try.md b/docs/PxWeb2/project/try.md deleted file mode 100644 index 39967d7..0000000 --- a/docs/PxWeb2/project/try.md +++ /dev/null @@ -1,13 +0,0 @@ -# Follow the development of PxWeb 2 - -## Tables from Statistics Sweden database -- [Database from Statistics Sweden](https://test.pxweb2.pages.dev/sv/) - -## Tables from Statistics Norway database -- [Database from Statistics Norway](https://test-ssb.pxweb2.pages.dev/no/) - -## Try it with your own data -You are free to test PxWeb2 with your own data. It works both with px-files and cnmm database -- [Read the documentation](https://www.pxtools.net/documentation/overview/) - - diff --git a/mkdocs.yml b/mkdocs.yml index f295296..fd7611e 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -7,9 +7,11 @@ copyright: Copyright © 2025 Statistics Sweden and Statistics Norway nav: - Home: index.md - PxWeb 2: - - Introduction: PxWeb2/project/overview.md + - Introduction: PxWeb2/project/introduction.md + - Is PxWeb right for you?: PxWeb2/project/solution.md + - Demo: PxWeb2/project/demo.md - Plans: PxWeb2/project/plans.md - - The project: PxWeb2/project/process.md + - Documentation: - Overview: documentation/overview.md - Getting Started: