SlideShare a Scribd company logo
1 of 18
Data Market: End-User Exercises
Aitor Magán (UPM)
amagan@fi.upm.es
@AitorMagan
Outline
2
• DM-EU-1: Create a Private Dataset
• DM-EU-2: API Usage – Get entries
• DM-EU-3: API Usage – Insert entries
• DM-EU-4: Publish the dataset in the Store
• DM-EU-5: Mashup to visualize the data
• DM-EU-6: Publish the Mashup in the Store
• DM-EU-7: Create a compound offering
• DM-EU-8: Acquire the offering
• DM-EU-9: Install the mashup
DM-EU-1. Create a Private Dataset
• Prerequisites
– A FIWARE Lab account
– A CSV file with a dataset. You can use the
example one published in the Store (Madrid
Public Transport Pass Price Evolution - FIWARE
Developers Weeks)
• Click on Resources
• Download the CSV in your local file system
Easy
DM-EU-1. Create a Private Dataset
• Steps
– Go to Data portal page
• https://data.lab.fiware.org
– Log in
– Go to the “Datasets” section
– Click “Add dataset”
– Complete the fields
• Set the title based on your name to avoid conflicts
• Remember: “Create a private dataset”
– “Next: Add data”
– Upload the CSV
• Format: CSV
– “Next: Additional Info” > “Finish”
Easy
DM-EU-2. API Usage: Get Entries
• Prerequisites
– A FIWARE Lab account
– A published dataset in the Data Portal
• Data API should be enabled: Active by default if you uploaded
a CSV file
• Steps
– Check CKAN documentation
– Use action “datastore_search”
• Hints
– Use a REST Client to ease the authorization process
• You can also use cURL but you will be the one in charge of
sending the Authorization token
– https://data.lab.fiware.org/api/action/{ACTION_NAME}
– “resource_id”: Can be obtained when you are viewing the
resource in the GUI.
Medium
DM-EU-3. API Usage: Insert Entries
• Prerequisites
– A FIWARE Lab account
– A published dataset in the Data Portal
• Data API should be enabled: Active by default if you uploaded a CSV
file
• Steps
– Use action “datastore_upsert”
– Insert the prices for 2015
• Figure them out or use the 2014 ones
• Hints
– Use a REST Client to ease the authorization process
• You can also use cURL but you will be the one in charge of sending the
Authorization token
– http://ckan.readthedocs.org/en/255-update-api-docs/datastore-
api.html
– https://data.lab.fiware.org/api/action/{ACTION_NAME}
– “resource_id”: Can be obtained when you are viewing the
resource in the GUI.
– “force”: true
– “method”: “insert”
Hard
DM-EU-4. Publish the Dataset in the Store
• Prerequisites
– A FIWARE Lab account
– A published dataset in the Data Portal
• DM-EU-1
• Steps
– Click on your dataset
– Click on “Manage”
– Click on “Publish”
– Complete the form
– Click “Publish Offering”
• Hints
– Complete the legal terms fields if you want users to
accept some restrictions for using your data
Easy
Medium
DM-EU-5. Mashup to visualize the data (1)
• Prerequisites
– A FIWARE Lab account
– The widgets/operator to visualize data and
connect with CKAN
• Acquire (for free) the offering called “CKANStarterKit”
• Go to the Mashup Platform
• Go to the MarketPlace
• Look for “CKANStarterKit”
• Click “Install”
Medium
DM-EU-5. Mashup to visualize the data (2)
• Prerequisites
– A published dataset in the Data Portal
• Data API should be enabled for the resource
contained in the dataset
– Active by default if you upload a CSV as done in DM-
EU-1
Medium
DM-EU-5. Mashup to visualize the data (3)
• Steps
– Create a new Work Space
• No Template
• Chose an appropriate name
– Add the following widgets:
• ckan_operator
• graphs
• linear_graphs
• Tables
– Move to the Wiring Editor
– Click on “Operators”
• Drag and drop “CKAN Source”
Medium
DM-EU-5. Mashup to visualize the data (4)
• Steps
– Connect widgets and operators
– Modify CKAN Source Settings
• Set CKAN Server URL to: https://data.lab.fiware.org
– WARN: The default one contains an extra dash
• Set Resource ID
– Go back to the Work Space
• Hints
– “resource_id”: Can be obtained when you are
viewing the resource in the GUI.
DM-EU-6. Publish the Mashup in the Store
• Prerequisites
– DM-EU-5
• Steps
– Click on Work Space properties button
– “Upload to My Resources”
– Complete the required fields
– Click on “Advanced” tab
• “Embed used widgets/operators”
– Accept
– Click on “My Resources”
– Click on the created Mashup
– Click “Publish”
– Select the appropriate Store
Easy
DM-EU-7. Create a compound offering (1)
• Prerequisites
– DM-EU-4
– DM-EU-6
• Steps
– Access the Store Portal
– Click “My Offerings”
– Click “Provider Options”
– Click “Create offering”
• Name: Use Camel Case (ExampleName)
• Version: 1.0
• Provide Notification URL:
https://data.lab.fiware.org/api/action/dataset_acquired
– Next: Add legal terms, description and price
– Next: Avoid this section
Easy
DM-EU-7. Create a compound offering (2)
• Steps
– Next: Chose the two resources: the Mashup and the
dataset
– Accept
– Click “Provided”
– Click on the offering you’ve just created
– Insert tags. At least use the following ones:
• widget
• dataset
– Accept
– Publish
Easy
DM-EU-8. Acquire the offering (1)
• Prerequisites
– DM-EU-4 or DM-EU-7 (preferably)
– Another FIWARE Lab account
• Steps
– Go to the Data Portal
• Look for your dataset
• Check that is labeled as “Private”
• Check that you cannot access
– Click on the link provided to get the rights
– Click on one of the offerings provided
• Try to chose the one with the MashUp
• Hint: You can click on the offering in the “Resources” tab to view
the different resources contained in the offering
Easy
DM-EU-8. Acquire the offering (2)
• Steps
– Click on the price or “Free” (depends on the price you’ve
set when creating the offering)
– Accept the terms (if any)
– Introduce an address
• You can fake it
– Accept
– Click on resources
• Access the dataset and check that you can access it now.
Easy
DM-EU-9. Install the Mashup
• Prerequisites
– DM-EU-8
– Have acquired the offering with the Mashup in the last
exercise
• Steps
– Go to the Mashup portal
– Click on “Marketplace”
– Look for the offering you published in previous exercises
– Click install
– Go back
– Create a new Work Space
• Template: the one with the mashup to visualize the Dataset
Easy
Thanks!Thanks!

More Related Content

Viewers also liked

GMS,Kannanoor
GMS,KannanoorGMS,Kannanoor
GMS,Kannanoordesigntn
 
Real estate administrator kpi
Real estate administrator kpiReal estate administrator kpi
Real estate administrator kpijomdiret
 
Ensyado riesgos ocupacionales
Ensyado riesgos ocupacionalesEnsyado riesgos ocupacionales
Ensyado riesgos ocupacionalesdavidrcj
 
Real estate negotiator kpi
Real estate negotiator kpiReal estate negotiator kpi
Real estate negotiator kpijomdiret
 
Investment Policy for Insurers - June 2012
 Investment Policy for Insurers - June 2012 Investment Policy for Insurers - June 2012
Investment Policy for Insurers - June 2012Strategic Asset Alliance
 
Real estate representative kpi
Real estate representative kpiReal estate representative kpi
Real estate representative kpijomdiret
 
Hive- MITID's Official Newsletter
Hive- MITID's Official NewsletterHive- MITID's Official Newsletter
Hive- MITID's Official NewsletterDevanshi Shah
 
The Power and Value of Professional Mentoring - GWBC by Michelle Deal
The Power and Value of Professional Mentoring - GWBC by Michelle DealThe Power and Value of Professional Mentoring - GWBC by Michelle Deal
The Power and Value of Professional Mentoring - GWBC by Michelle DealKey Services
 
TMForum Open:Hack - FIWARE Training Session
TMForum Open:Hack - FIWARE Training SessionTMForum Open:Hack - FIWARE Training Session
TMForum Open:Hack - FIWARE Training SessionAitor Magán García
 
PUMS,Sengal,Krishnarayapuram Union,Karur District."PALLI VILAYATTU MAITHANATH...
PUMS,Sengal,Krishnarayapuram Union,Karur District."PALLI VILAYATTU MAITHANATH...PUMS,Sengal,Krishnarayapuram Union,Karur District."PALLI VILAYATTU MAITHANATH...
PUMS,Sengal,Krishnarayapuram Union,Karur District."PALLI VILAYATTU MAITHANATH...designtn
 

Viewers also liked (15)

Amado Nervo
Amado NervoAmado Nervo
Amado Nervo
 
Amado nervo
Amado nervoAmado nervo
Amado nervo
 
GMS,Kannanoor
GMS,KannanoorGMS,Kannanoor
GMS,Kannanoor
 
Real estate administrator kpi
Real estate administrator kpiReal estate administrator kpi
Real estate administrator kpi
 
Ensyado riesgos ocupacionales
Ensyado riesgos ocupacionalesEnsyado riesgos ocupacionales
Ensyado riesgos ocupacionales
 
Real estate negotiator kpi
Real estate negotiator kpiReal estate negotiator kpi
Real estate negotiator kpi
 
Investment Policy for Insurers - June 2012
 Investment Policy for Insurers - June 2012 Investment Policy for Insurers - June 2012
Investment Policy for Insurers - June 2012
 
Real estate representative kpi
Real estate representative kpiReal estate representative kpi
Real estate representative kpi
 
Amado Nervo
Amado NervoAmado Nervo
Amado Nervo
 
Hive- MITID's Official Newsletter
Hive- MITID's Official NewsletterHive- MITID's Official Newsletter
Hive- MITID's Official Newsletter
 
10 strategies to get your spouse to the mediation table
10 strategies to get your spouse to the mediation table10 strategies to get your spouse to the mediation table
10 strategies to get your spouse to the mediation table
 
The Power and Value of Professional Mentoring - GWBC by Michelle Deal
The Power and Value of Professional Mentoring - GWBC by Michelle DealThe Power and Value of Professional Mentoring - GWBC by Michelle Deal
The Power and Value of Professional Mentoring - GWBC by Michelle Deal
 
TMForum Open:Hack - FIWARE Training Session
TMForum Open:Hack - FIWARE Training SessionTMForum Open:Hack - FIWARE Training Session
TMForum Open:Hack - FIWARE Training Session
 
Pdf2575
Pdf2575Pdf2575
Pdf2575
 
PUMS,Sengal,Krishnarayapuram Union,Karur District."PALLI VILAYATTU MAITHANATH...
PUMS,Sengal,Krishnarayapuram Union,Karur District."PALLI VILAYATTU MAITHANATH...PUMS,Sengal,Krishnarayapuram Union,Karur District."PALLI VILAYATTU MAITHANATH...
PUMS,Sengal,Krishnarayapuram Union,Karur District."PALLI VILAYATTU MAITHANATH...
 

Similar to Data market end user exercises

Monetize your APIs and datasets or make them available as open data
Monetize your APIs and datasets or make them available as open dataMonetize your APIs and datasets or make them available as open data
Monetize your APIs and datasets or make them available as open dataAitor Magán García
 
WireCloud Exercises - FIWARE Developers Week
WireCloud Exercises - FIWARE Developers WeekWireCloud Exercises - FIWARE Developers Week
WireCloud Exercises - FIWARE Developers WeekMiguel Jiménez
 
Sap business intelligence 4.0 report basic
Sap business intelligence 4.0   report basicSap business intelligence 4.0   report basic
Sap business intelligence 4.0 report basictovetrivel
 
How to create a User Defined Policy with IBM APIc (v10)
How to create a User Defined Policy with IBM APIc (v10)How to create a User Defined Policy with IBM APIc (v10)
How to create a User Defined Policy with IBM APIc (v10)Shiu-Fun Poon
 
Data/Applications Visualization and Mashup
Data/Applications Visualization and MashupData/Applications Visualization and Mashup
Data/Applications Visualization and MashupÁlvaro Arranz García
 
Android session 4-behestee
Android session 4-behesteeAndroid session 4-behestee
Android session 4-behesteeHussain Behestee
 
DataCite How To: Use the MDS
DataCite How To: Use the MDSDataCite How To: Use the MDS
DataCite How To: Use the MDSFrauke Ziedorn
 
Building a Big Data Pipeline
Building a Big Data PipelineBuilding a Big Data Pipeline
Building a Big Data PipelineJesus Rodriguez
 
SplunkLive! Advanced Session
SplunkLive! Advanced SessionSplunkLive! Advanced Session
SplunkLive! Advanced SessionSplunk
 
Android intents-3 www.j2program.blogspot.com
Android intents-3 www.j2program.blogspot.comAndroid intents-3 www.j2program.blogspot.com
Android intents-3 www.j2program.blogspot.comMohamed Rimzan
 
Scaling self service on Hadoop
Scaling self service on HadoopScaling self service on Hadoop
Scaling self service on HadoopDataWorks Summit
 
IoT Discovery tutorial
IoT Discovery tutorialIoT Discovery tutorial
IoT Discovery tutorialTarek Elsaleh
 
BrownSites: Building and Managing a CMS Infrastructure for Higher Ed
BrownSites: Building and Managing a CMS Infrastructure for Higher EdBrownSites: Building and Managing a CMS Infrastructure for Higher Ed
BrownSites: Building and Managing a CMS Infrastructure for Higher EdAlozie Nwosu
 
Big Data Driven At Eway
Big Data Driven At Eway Big Data Driven At Eway
Big Data Driven At Eway Tu Pham
 
Data and Business Team Collaboration
Data and Business Team CollaborationData and Business Team Collaboration
Data and Business Team CollaborationApple
 
Mashup Application GE - WireCloud
Mashup Application GE - WireCloudMashup Application GE - WireCloud
Mashup Application GE - WireCloudMiguel Jiménez
 
Hadoop Summit - Sanoma self service on hadoop
Hadoop Summit - Sanoma self service on hadoopHadoop Summit - Sanoma self service on hadoop
Hadoop Summit - Sanoma self service on hadoopSander Kieft
 

Similar to Data market end user exercises (20)

WireCloud, WStore and WMarket
WireCloud, WStore and WMarketWireCloud, WStore and WMarket
WireCloud, WStore and WMarket
 
Monetize your APIs and datasets or make them available as open data
Monetize your APIs and datasets or make them available as open dataMonetize your APIs and datasets or make them available as open data
Monetize your APIs and datasets or make them available as open data
 
WireCloud Exercises - FIWARE Developers Week
WireCloud Exercises - FIWARE Developers WeekWireCloud Exercises - FIWARE Developers Week
WireCloud Exercises - FIWARE Developers Week
 
Aggregation workflow
Aggregation workflowAggregation workflow
Aggregation workflow
 
Sap business intelligence 4.0 report basic
Sap business intelligence 4.0   report basicSap business intelligence 4.0   report basic
Sap business intelligence 4.0 report basic
 
Recommender Infrastructure in Kumparan
Recommender Infrastructure in KumparanRecommender Infrastructure in Kumparan
Recommender Infrastructure in Kumparan
 
How to create a User Defined Policy with IBM APIc (v10)
How to create a User Defined Policy with IBM APIc (v10)How to create a User Defined Policy with IBM APIc (v10)
How to create a User Defined Policy with IBM APIc (v10)
 
Data/Applications Visualization and Mashup
Data/Applications Visualization and MashupData/Applications Visualization and Mashup
Data/Applications Visualization and Mashup
 
Android session 4-behestee
Android session 4-behesteeAndroid session 4-behestee
Android session 4-behestee
 
DataCite How To: Use the MDS
DataCite How To: Use the MDSDataCite How To: Use the MDS
DataCite How To: Use the MDS
 
Building a Big Data Pipeline
Building a Big Data PipelineBuilding a Big Data Pipeline
Building a Big Data Pipeline
 
SplunkLive! Advanced Session
SplunkLive! Advanced SessionSplunkLive! Advanced Session
SplunkLive! Advanced Session
 
Android intents-3 www.j2program.blogspot.com
Android intents-3 www.j2program.blogspot.comAndroid intents-3 www.j2program.blogspot.com
Android intents-3 www.j2program.blogspot.com
 
Scaling self service on Hadoop
Scaling self service on HadoopScaling self service on Hadoop
Scaling self service on Hadoop
 
IoT Discovery tutorial
IoT Discovery tutorialIoT Discovery tutorial
IoT Discovery tutorial
 
BrownSites: Building and Managing a CMS Infrastructure for Higher Ed
BrownSites: Building and Managing a CMS Infrastructure for Higher EdBrownSites: Building and Managing a CMS Infrastructure for Higher Ed
BrownSites: Building and Managing a CMS Infrastructure for Higher Ed
 
Big Data Driven At Eway
Big Data Driven At Eway Big Data Driven At Eway
Big Data Driven At Eway
 
Data and Business Team Collaboration
Data and Business Team CollaborationData and Business Team Collaboration
Data and Business Team Collaboration
 
Mashup Application GE - WireCloud
Mashup Application GE - WireCloudMashup Application GE - WireCloud
Mashup Application GE - WireCloud
 
Hadoop Summit - Sanoma self service on hadoop
Hadoop Summit - Sanoma self service on hadoopHadoop Summit - Sanoma self service on hadoop
Hadoop Summit - Sanoma self service on hadoop
 

Recently uploaded

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 

Recently uploaded (20)

TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 

Data market end user exercises

  • 1. Data Market: End-User Exercises Aitor Magán (UPM) amagan@fi.upm.es @AitorMagan
  • 2. Outline 2 • DM-EU-1: Create a Private Dataset • DM-EU-2: API Usage – Get entries • DM-EU-3: API Usage – Insert entries • DM-EU-4: Publish the dataset in the Store • DM-EU-5: Mashup to visualize the data • DM-EU-6: Publish the Mashup in the Store • DM-EU-7: Create a compound offering • DM-EU-8: Acquire the offering • DM-EU-9: Install the mashup
  • 3. DM-EU-1. Create a Private Dataset • Prerequisites – A FIWARE Lab account – A CSV file with a dataset. You can use the example one published in the Store (Madrid Public Transport Pass Price Evolution - FIWARE Developers Weeks) • Click on Resources • Download the CSV in your local file system Easy
  • 4. DM-EU-1. Create a Private Dataset • Steps – Go to Data portal page • https://data.lab.fiware.org – Log in – Go to the “Datasets” section – Click “Add dataset” – Complete the fields • Set the title based on your name to avoid conflicts • Remember: “Create a private dataset” – “Next: Add data” – Upload the CSV • Format: CSV – “Next: Additional Info” > “Finish” Easy
  • 5. DM-EU-2. API Usage: Get Entries • Prerequisites – A FIWARE Lab account – A published dataset in the Data Portal • Data API should be enabled: Active by default if you uploaded a CSV file • Steps – Check CKAN documentation – Use action “datastore_search” • Hints – Use a REST Client to ease the authorization process • You can also use cURL but you will be the one in charge of sending the Authorization token – https://data.lab.fiware.org/api/action/{ACTION_NAME} – “resource_id”: Can be obtained when you are viewing the resource in the GUI. Medium
  • 6. DM-EU-3. API Usage: Insert Entries • Prerequisites – A FIWARE Lab account – A published dataset in the Data Portal • Data API should be enabled: Active by default if you uploaded a CSV file • Steps – Use action “datastore_upsert” – Insert the prices for 2015 • Figure them out or use the 2014 ones • Hints – Use a REST Client to ease the authorization process • You can also use cURL but you will be the one in charge of sending the Authorization token – http://ckan.readthedocs.org/en/255-update-api-docs/datastore- api.html – https://data.lab.fiware.org/api/action/{ACTION_NAME} – “resource_id”: Can be obtained when you are viewing the resource in the GUI. – “force”: true – “method”: “insert” Hard
  • 7. DM-EU-4. Publish the Dataset in the Store • Prerequisites – A FIWARE Lab account – A published dataset in the Data Portal • DM-EU-1 • Steps – Click on your dataset – Click on “Manage” – Click on “Publish” – Complete the form – Click “Publish Offering” • Hints – Complete the legal terms fields if you want users to accept some restrictions for using your data Easy
  • 8. Medium DM-EU-5. Mashup to visualize the data (1) • Prerequisites – A FIWARE Lab account – The widgets/operator to visualize data and connect with CKAN • Acquire (for free) the offering called “CKANStarterKit” • Go to the Mashup Platform • Go to the MarketPlace • Look for “CKANStarterKit” • Click “Install”
  • 9. Medium DM-EU-5. Mashup to visualize the data (2) • Prerequisites – A published dataset in the Data Portal • Data API should be enabled for the resource contained in the dataset – Active by default if you upload a CSV as done in DM- EU-1
  • 10. Medium DM-EU-5. Mashup to visualize the data (3) • Steps – Create a new Work Space • No Template • Chose an appropriate name – Add the following widgets: • ckan_operator • graphs • linear_graphs • Tables – Move to the Wiring Editor – Click on “Operators” • Drag and drop “CKAN Source”
  • 11. Medium DM-EU-5. Mashup to visualize the data (4) • Steps – Connect widgets and operators – Modify CKAN Source Settings • Set CKAN Server URL to: https://data.lab.fiware.org – WARN: The default one contains an extra dash • Set Resource ID – Go back to the Work Space • Hints – “resource_id”: Can be obtained when you are viewing the resource in the GUI.
  • 12. DM-EU-6. Publish the Mashup in the Store • Prerequisites – DM-EU-5 • Steps – Click on Work Space properties button – “Upload to My Resources” – Complete the required fields – Click on “Advanced” tab • “Embed used widgets/operators” – Accept – Click on “My Resources” – Click on the created Mashup – Click “Publish” – Select the appropriate Store Easy
  • 13. DM-EU-7. Create a compound offering (1) • Prerequisites – DM-EU-4 – DM-EU-6 • Steps – Access the Store Portal – Click “My Offerings” – Click “Provider Options” – Click “Create offering” • Name: Use Camel Case (ExampleName) • Version: 1.0 • Provide Notification URL: https://data.lab.fiware.org/api/action/dataset_acquired – Next: Add legal terms, description and price – Next: Avoid this section Easy
  • 14. DM-EU-7. Create a compound offering (2) • Steps – Next: Chose the two resources: the Mashup and the dataset – Accept – Click “Provided” – Click on the offering you’ve just created – Insert tags. At least use the following ones: • widget • dataset – Accept – Publish Easy
  • 15. DM-EU-8. Acquire the offering (1) • Prerequisites – DM-EU-4 or DM-EU-7 (preferably) – Another FIWARE Lab account • Steps – Go to the Data Portal • Look for your dataset • Check that is labeled as “Private” • Check that you cannot access – Click on the link provided to get the rights – Click on one of the offerings provided • Try to chose the one with the MashUp • Hint: You can click on the offering in the “Resources” tab to view the different resources contained in the offering Easy
  • 16. DM-EU-8. Acquire the offering (2) • Steps – Click on the price or “Free” (depends on the price you’ve set when creating the offering) – Accept the terms (if any) – Introduce an address • You can fake it – Accept – Click on resources • Access the dataset and check that you can access it now. Easy
  • 17. DM-EU-9. Install the Mashup • Prerequisites – DM-EU-8 – Have acquired the offering with the Mashup in the last exercise • Steps – Go to the Mashup portal – Click on “Marketplace” – Look for the offering you published in previous exercises – Click install – Go back – Create a new Work Space • Template: the one with the mashup to visualize the Dataset Easy