Before you begin
This is an F# language class. To complete the coding exercises, you will need a Xamarin development environment with either a simulator/emulator or a device to run the exercise on. Please read the setup requirements if you need help installing the Xamarin development environment.
Overview
During this course we cover the basics of using type providers in F#. Including defining what a type provider is, illustrating how to connect to them, and ultimately how to transform data from a type provider.
Lecture
Objectives
- Connect to data sources with type providers
- Query and transform data from type providers
Exercises
Exercise materials are available from GitHub. The code can be cloned through a desktop Git client or downloaded directly as a ZIP file.
-
Connecting to the JSON type providerExercise
In this exercise, we will use the F# Data package to connect to a remote REST Service using the JSON type provider and display information about the weather in a nearby city -
Connecting to the World Bank type providerExercise
In this exercise, we will use the F# DATA package to connect to the World Bank type provider and find the two countries, which, in 2010 had the lowest and highest values for the "Income share held by highest 10%" indicator.
Exploring On Your Own
Here are some additional online resources for further study.