socrata.dotnet
0.0.2-beta
Suggested Alternatives
This is a prerelease version of socrata.dotnet.
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package socrata.dotnet --version 0.0.2-beta
NuGet\Install-Package socrata.dotnet -Version 0.0.2-beta
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="socrata.dotnet" Version="0.0.2-beta" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add socrata.dotnet --version 0.0.2-beta
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: socrata.dotnet, 0.0.2-beta"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install socrata.dotnet as a Cake Addin
#addin nuget:?package=socrata.dotnet&version=0.0.2-beta&prerelease
// Install socrata.dotnet as a Cake Tool
#tool nuget:?package=socrata.dotnet&version=0.0.2-beta&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SocrataDataPipeline.NET
.NET ETL Library for Socrata Data Pipeline
Installation
ETL: Basic Usage
using System;
using SocrataDotNet;
namespace MyApp
{
class MyETLClass
{
static void Main(string[] args)
{
// Initialize the client
var pipelineClient = new PipelineClient("https://my.scgc.socrata.com", "username", "password");
// Read in File (or other source)
string filepath = "C:\\Users\\mysource\\outputs\\output.csv";
string csv = System.IO.File.ReadAllText(filepath);
// Create a REVISION
Revision revision = pipelineClient.CreateRevision("replace", "1234-abcd");
// Upload the file as a new source
Source source = pipelineClient.CreateSource(csv, revision, DataFormat.CSV, filename="MyNewFile")
// Get the schema of the new (latest) source
SchemaTransforms input = pipelineClient.CreateInputSchema(source);
// Do transforms
// AppliedTransforms output = input.ChangeColumnDisplayName("oldname","newname").ChangeColumnDescription("newname","New description").Run();
//
// Apply the revision to replace/update the dataset
PipelineJob job = pipelineClient.Apply(input, revision);
// Await the completion of the revision and output the processing log
job.AwaitCompletion();
}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
- Newtonsoft.Json (>= 11.0.2)
- NLog (>= 4.5.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|