soda-publisher-scala


License

License

Categories

Categories

Scala Languages
GroupId

GroupId

com.socrata
ArtifactId

ArtifactId

soda-publisher-scala_2.12
Last Version

Last Version

2.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

soda-publisher-scala
soda-publisher-scala
Project URL

Project URL

http://www.github.com/socrata/soda-scala
Project Organization

Project Organization

com.socrata

Download soda-publisher-scala_2.12

How to add to project

<!-- https://jarcasting.com/artifacts/com.socrata/soda-publisher-scala_2.12/ -->
<dependency>
    <groupId>com.socrata</groupId>
    <artifactId>soda-publisher-scala_2.12</artifactId>
    <version>2.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.socrata/soda-publisher-scala_2.12/
implementation 'com.socrata:soda-publisher-scala_2.12:2.2.0'
// https://jarcasting.com/artifacts/com.socrata/soda-publisher-scala_2.12/
implementation ("com.socrata:soda-publisher-scala_2.12:2.2.0")
'com.socrata:soda-publisher-scala_2.12:jar:2.2.0'
<dependency org="com.socrata" name="soda-publisher-scala_2.12" rev="2.2.0">
  <artifact name="soda-publisher-scala_2.12" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.socrata', module='soda-publisher-scala_2.12', version='2.2.0')
)
libraryDependencies += "com.socrata" % "soda-publisher-scala_2.12" % "2.2.0"
[com.socrata/soda-publisher-scala_2.12 "2.2.0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.12.0
com.socrata : soda-consumer-scala_2.12 jar 2.2.0

Project Modules

There are no modules declared in this project.

Soda-Scala

Scala bindings for the SODA2 API.

Getting it

Soda-Scala is published to maven central. There are two artifacts, soda-publisher-scala which contains everything, and soda-consumer-scala which contains only those features required for read-access. SBT configuration can be done by adding

libraryDependencies += "com.socrata" %% "soda-publisher-scala" % "2.0.0"

to your .sbt file, while for Maven, the pom snippet is:

<dependencies>
  <dependency>
    <groupId>com.socrata</groupId>
    <artifactId>soda-publisher-scala_${scala.version}</artifactId>
    <version>2.0.0</version>
  </dependency>
</dependencies>

Soda-scala is published for Scala versions 2.10.4, 2.11.8 and 2.12.0.

Sample code

The soda-scala-sample subproject contains sample code for reading and writing.

Interop with databinder-dispatch

Version 0.9 and above of databinder-dispatch uses async-http-client as its underlying engine. The default client can be retrieved using Http.client and passed to the soda-scala HttpConsumer or HttpProducer.

Future work

  • A query-building system richer than raw SoQL strings.
  • More ways to upload data (e.g., from a CSV file).
com.socrata

Socrata, Inc.

Libraries & SDKs here, platform repositories in http://github.com/socrata-platform.

Versions

Version
2.2.0
2.1.1
2.1.0
2.0.10
2.0.9
2.0.8
2.0.6
2.0.5
2.0.3
2.0.2
2.0.1