• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
F# Data: Making structured data first class citizens
 

F# Data: Making structured data first class citizens

on

  • 706 views

Slides from a talk at DCP 2014 workshop, about F# Data type providers. For live code samples, see the YouTube links in the slides!

Slides from a talk at DCP 2014 workshop, about F# Data type providers. For live code samples, see the YouTube links in the slides!

Statistics

Views

Total Views
706
Views on SlideShare
706
Embed Views
0

Actions

Likes
5
Downloads
5
Comments
1

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • the only way to fly
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    F# Data: Making structured data first class citizens F# Data: Making structured data first class citizens Presentation Transcript

    • F# Data Making structured data first-class citizens Tomas Petricek, University of Cambridge Project homepage: http://fsharp.github.io/FSharp.Data Get in touch: @tomaspetricek | tomas@tomasp.net
    • F# Software Foundation http://www.fsharp.org software stacks trainings teaching F# user groups snippets mac and linux cross-platform tutorials F# community open-source MonoDevelop contributions research support consultancy mailing list
    • F# Data type providers First-class data CSV, REST, WorldBank… R Type provider Statistics & visualization 5000 tested packages www.fslab.org
    • Deedle data frame Data exploration Indexing and aggregation F# Charting library Simple & composable Interactive style www.fslab.org
    • What are type providers? Integrating WorldBank and R http://youtu.be/7r2-B-5H_io
    • The confusion of languages
    • What are type providers?
    • What are type providers?
    • Type provider research questions Data vs. Schema Laziness Mapping to types Schema inference Schema inference
    • Schema inference Loading Titanic data from CSV http://youtu.be/yjBdZduc0ko
    • Inferring primitive types null intbool string decimal float
    • Structure inference Working with XML and JSON data http://youtu.be/_DjX0ybaXZY http://youtu.be/SkZBzlREOMo
    • Inferring structured types person { name : string } person { name : string, age : int } person { name : string, age : int option } [ { num : int } ] [ { str : string } ] [ { num : int option, str : string option } ] int { value : int } int + { value : int }
    • Does it scale? Query movies using Apiary provider http://youtu.be/-Am2uRUv39c
    • Conclusions Inference from small-scale samples works! Schema is (very) often missing But data is (very) often regular Check out F# Data and contribute! Project homepage: http://fsharp.github.io/FSharp.Data Get in touch: @tomaspetricek | tomas@tomasp.net