Px-Web API use in INSTAT

Slides:



Advertisements
Similar presentations
.NET 3.5 SP1 New features Enhancements Visual Studio 2008 SP1 New features Enhancements Additional features/enhancements.
Advertisements

Execute Stored Procedure having Output Parameter and returning Result Set in Adeptia Server.
Ian Bablewski Calvin Flegal Katie McNabb Bryant Moquist Design Presentation.
Introduction to Backend James Kahng. Install Node.js.
.NET Framework V3.5+ & RESTful web services Mike Taulty Developer & Platform Group Microsoft Ltd
The Jukebox Orian Paz & Yair Cleper Instructor: Viktor Kulikov Semester: Spring 2009 Final Presentation.
06 | Implementing Web APIs Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek.
Discover, Master, InfluenceSlide 1 SQL Server Compact Edition and the Entity Framework Rob Sanders Readify.
Intelligent Tutoring System Mobile Communication Team Drew Boatwright Nakul Dureja Richard Liou.
Submitted by: Madeeha Khalid Sana Nisar Ambreen Tabassum.
 Introduction  What is LINQ  Syntax  How to Query  Example Program.
Santosh Ghimire – 066 BCT 533 Subit Raj Pokharel – 066 BCT 538 Sudip Kafle – 066 BCT
Configuration Management and Server Administration Mohan Bang Endeca Server.
Sharing Aid Information – The IATI Way Stephen Davenport & Dan Mihaila & Alexandru Gartner.
Joomla! Day France SEBLOD Version 2.0 for Joomla! 1.6.
ASP.NET + jQuery + Odata = Goodness Stephen Walther Superexpert.com
Getting Started with the ASP.NET Web API Dhananjay Kumar Infragistics Consultant Microsoft MVP
Data File Access API : Under the Hood Simon Horwith CTO Etrilogy Ltd.
1 Country report 2014 – Statistics Norway PC-Axis Reference Group meeting
Jolyon White GEC9, 4 th November 2010 OMF Aggregate Manager API.
Overview of Data Access MacDonald Ch. 15 MIS 324 Professor Sandvig.
1 Accelerated Web Development Course JavaScript and Client side programming Day 2 Rich Roth On The Net
Universiti Utara Malaysia Chapter 3 Introduction to ASP.NET 3.5.
Project “Astoria” first announced in Mix 2007 Shared early prototypes, got tons of feedback Now we’re talking about the real deal Production quality bits,
PX development Mikael Nordberg & Petros Likidis Statistics Sweden.
Lap Around Visual Studio 2008 &.NET 3.5 Enhancements.
CSCI 6962: Server-side Design and Programming Database Manipulation in ASP.
Module 7: Accessing Data by Using ADO.NET
Pradeep S Pushpendra Singh Consultants, Neudesic Technologies, Hyderabad, India.
Facebook API Kelly Orser. Client Libraries Client libraries will simplify the calls to the platform by reducing the amount of code you have to write.
1 ADO.NET Data Services Mike Taulty Developer & Platform Group Microsoft Ltd
JAVA BEANS JSP - Standard Tag Library (JSTL) JAVA Enterprise Edition.
Windows 7 WampServer 2.1 MySQL PHP 5.3 Script Apache Server User Record or Select Media Upload to Internet Return URL Forward URL Create.
SDK Overview Rob DeCarlo Bechtel.
Maria Gunnarsson Statistic Sweden Mikael Nordberg Statistic Sweden.
PX-API and development of new console Norwegian experiences Jan Bruusgaard Pc-Axis Reference Group Meeting 2015.
Maria Gunnarsson SCB Mikael Nordberg SCB PX-Web 2015 December.
DICOMwebTM 2015 Conference & Hands-on Workshop University of Pennsylvania, Philadelphia, PA September 10-11, 2015 DICOMweb Workflow API (UPS-RS) Jonathan.
The Jukebox is a.NET web application that plays streaming music files to it’s clients according to their favorites musical genres. Clients can rate the.
The ECOST Web-based platform for data providers and for data users.
Intermountain West Data Warehouse - Western Air Quality Study
Jim Fawcett CSE686 – Internet Programming Spring 2014
ASP.NET Programming with C# and SQL Server First Edition
Web API - Introduction AJAX, Spring Data REST SoftUni Team Web API
Maria Gunnarsson Statistic Sweden Mikael Nordberg Statistic Sweden
Constructing a National Reporting Platform for SDGs: lessons form the MDGs. Enrique Ordaz INEGI Geneva, April 2017.
Jim Fawcett CSE686 – Internet Programming Spring 2012
Step 1 Create Database Info activity in Adeptia Server specifying the driver, URL and user credentials information for the database in which stored.
 .NET CORE
Visual Studio 2010 and .NET Framework 4 Training Workshop
AJAX.
YQL Kevin Murphy CMPS 183.
ADO.NEXT Advances in Data Access for 2008
WEB API.
SDMX Reference Infrastructure Introduction
PX-Web 2017 v1 and The situation at Statistics Sweden right now
PX-Web 2019 and more… Mikael Nordberg Developer Statistics Sweden.
MIS Professor Sandvig MIS 324 Professor Sandvig
PX API 2.0 Petros Likidis.
Robotics Website By Andy Kelley.
PX-API and JSON-stat present state and future directions
Visual Studio + SQL Server Is Better
ASP.NET MVC Web Development
ADO.NET Entity Framework
Client-Server Model: Requesting a Web Page
MIS Professor Sandvig MIS 424 Professor Sandvig
WCF Data Services and Silverlight
ITI 257 Data Analysis with Power BI
.NET Framework V3.5+ & RESTful web services
CS4540 Special Topics in Web Development Course Overview
Presentation transcript:

Px-Web API use in INSTAT

Table of Contents About PX-Web API PX-Web API use in INSTAT About Data Visualization Project Future plans

About PX-Web API PxWeb API A programmatic way to access px-web database GET Request: metadata about databases, levels, tables, contents and variables of a table Returns a json format of the metadata POST Request: post a query for retrieving data from a table Returns a specified format of the filtered table (json, xml, px, csv.)

About PX-Web API GET Request: API/LANGUAGE/DATABASE- ID/<LEVELS>/TABLE-ID http://instat.gov.al:8080/api/al/DST/LSMS/LSMS01 JSON metadata response POST Request: Posting a json formatted request to the above url will return a response with the data filtered according to the posted query. User specified format response

PX-Web API GET request Example resoponse of the GET request “/api/en” [{"dbid":"DST","text":"Statistical database"}] Example response of the GET request “/api/en/DST/ND” [{"id":"ND0001","type":"t","text":"Constructions by their type- Riconstructions 2004-1 - 2012-4"}, {"id":"ND0002","type":"t","text":"Dwelling by prefecture by prefectures according to construction permits 2005 - 2011"}, {"id":"ND0003","type":"t","text":"Number and square meter of building permits issue for new buildings 2004-1 - 2012-4"}, {"id":"ND0004","type":"t","text":"Dwelling by district according to construction permits 2005 - 2011"}, {"id":"ND0005","type":"t","text":"Value of building permits issued by clients for buildings and civil engineering works 1999 - 2011"}, {"id":"ND0006","type":"t","text":"Approximate value- New constructions 2004-1 - 2012-4"}]

PxWeb API POST request Example of POST request into the url "http://instat.gov.al:8080/api/en/DST/OS/DVS/DVS0008/" {"query": [{"code": "NivArsim", "selection": {"filter": "all","values": ["*"]}},{"code": "urban_rural", "selection": {"filter": "all","values": ["*"]}},{"code": "Vit", "selection": {"filter": "all", "values": ["*"] }}],"response": { "format": "json" }}: response {"columns":[{"code":"NivArsim","text":"Level of Education ","type":"d"},{"code":"urban_rural","text":"urban_rural","type":"d"},{"code":"Vit","t ext":"Year","type":"t"},{"code":"Instat1","text":"Women Percentage","type":"c"}],"comments":[],"data":[{"key":["1","1","2013"],"values":["3. 0"]},{"key":["1","2","2013"],"values":["5.9"]},{"key":["2","1","2013"],"values":["26. 9"]},{"key":["2","2","2013"],"values":["55.0"]},{"key":["3","1","2013"],"values":["46 .9"]},{"key":["3","2","2013"],"values":["33.9"]},{"key":["4","1","2013"],"values":["2 3.2"]},{"key":["4","2","2013"],"values":["5.2"]}]} 4/14/2017

PX-Web API use in INSTAT Programmatic access to our pxweb database Internal use for our Data Visualization Project Charts and table data are provided from px web database using pxweb api queries Users can programmatically access our database for automatic update of figures in their reports 4/14/2017

PX-Web API use in INSTAT Visualization of INSTAT publications

About Data Visualization Project Visual Studio 2013 SQL Server 2012 ASP.net .Net Framework 4.5 Entity Framework (Database First Model) LINQ JQuery JQPlot Pivot js

About Data Visualization Project Visualization of INSTAT publications (Tables) Pivot.js

About Data Visualization Project Visualization of INSTAT publications (Charts) Jqplot

Future plans Visualize main INSTAT publication Create a loading application to populate the database Extend the use of the API for other purposes External users as well

Thank You For Your Attention!