Méthode | Description | |
---|---|---|
addColumn ( String name ) : bool | ||
addColumn ( String name, String description ) : bool | ||
addColumn ( String name, String description, String type ) : bool | ||
addColumn ( String name, String description, String type, int width ) : bool | ||
addColumn ( String name, String description, String type, int width, bool hidden ) : bool |
Adds a column to the dataset
|
|
addRow ( string>.Dictionary |
Add a row to the dataset
|
|
append ( String filename ) : bool |
Append the data in the given file to an existing dataset
|
|
append ( String filename, bool skipHeaders ) : bool |
Replaces the data in the existing attached dataset with the contents of the file
|
|
attach ( string id ) : void |
Attach to a given UID for a dataset that already exists
|
|
attached ( ) : bool |
Check to see if the dataset is associated with a valid UID.
|
|
columns ( ) : Newtonsoft.Json.Linq.JArray |
Gets a JSON representation of the columns
|
|
copy ( ) : String |
Make a working copy of a published dataset, with all row data copied.
|
|
copySchema ( ) : String |
Make a working copy of only the schema of a published dataset, with all row data omitted.
|
|
create ( String name ) : bool |
Creates a new, blank dataset with only a name.
|
|
create ( String name, String description ) : bool |
Creates a new, blank dataset.
|
|
delayAddRow ( string>.Dictionary |
Like addRow, but doesn't immediately send the data away. Instead, it stores it in a queue, which can be flushed with sendBatchRequest
|
|
delete ( ) : bool |
Deletes (irreversibly) the current dataset
|
|
importFile ( String filename ) : bool |
Creates a new dataset by importing a file
|
|
metadata ( ) : Newtonsoft.Json.Linq.JObject |
Gets the metadata associated with the dataset
|
|
publish ( ) : bool |
Performs a publish operation on a working copy dataset, to commit the changes you've made to the working copy to the published copy. Note that this should be called on the working copy, not the published version.
|
|
refresh ( String filename ) : bool |
Replaces the data in the existing attached dataset with the contents of the file
|
|
refresh ( String filename, bool skipHeaders ) : bool |
Replaces the data in the existing attached dataset with the contents of the file
|
|
rows ( ) : Newtonsoft.Json.Linq.JArray |
Gets a JSON Array of the rows in the dataset
|
|
setAttribution ( String attribution, String url ) : void |
Sets the dataset's attribution, e.g. "provided by"
|
|
setDescription ( String description ) : void |
Sets the dataset's description
|
|
setPublic ( bool isPublic ) : bool |
Sets the dataset's visibility
|
|
shortUrl ( ) : String |
Gets an href to the dataset, shortened.
|
|
uploadFile ( String filename ) : String |
Upload a file to the dataset for use in a cell (e.g. image)
|
Méthode | Description | |
---|---|---|
copyWithMethod ( String method ) : String | ||
isValidId ( String id ) : bool |
Checks if the given string represents a valid 4-4 Socrata UID
|
|
multipartAppendOrRefresh ( String filename, String method ) : bool | ||
multipartUpload ( String url, String filename ) : Newtonsoft.Json.Linq.JObject |
Multipart upload a file
|
|
putRequest ( String body ) : void |
public addColumn ( String name, String description ) : bool | ||
name | String | |
description | String | |
Résultat | bool |
public addColumn ( String name, String description, String type ) : bool | ||
name | String | |
description | String | |
type | String | |
Résultat | bool |
public addColumn ( String name, String description, String type, int width ) : bool | ||
name | String | |
description | String | |
type | String | |
width | int | |
Résultat | bool |
public addColumn ( String name, String description, String type, int width, bool hidden ) : bool | ||
name | String | The name of the column |
description | String | An optional description |
type | String | The column type. See API docs vor valid types |
width | int | How many pixels wide to make the column |
hidden | bool | If true, don't show the column in views, just store the data |
Résultat | bool |
public addRow ( string>.Dictionary |
||
row | string>.Dictionary | A dictionary of column/celldata values |
Résultat | bool |
public append ( String filename ) : bool | ||
filename | String | The location of the file on disk |
Résultat | bool |
public append ( String filename, bool skipHeaders ) : bool | ||
filename | String | The location of the file to add to the dataset |
skipHeaders | bool | Whether to skip the first row of your import file |
Résultat | bool |
public columns ( ) : Newtonsoft.Json.Linq.JArray | ||
Résultat | Newtonsoft.Json.Linq.JArray |
public create ( String name ) : bool | ||
name | String | The title of the dataset |
Résultat | bool |
public create ( String name, String description ) : bool | ||
name | String | The name of the dataset (must be unique) |
description | String | On optional description |
Résultat | bool |
public delayAddRow ( string>.Dictionary |
||
row | string>.Dictionary | A dictionary of column/celldata values |
Résultat | void |
public importFile ( String filename ) : bool | ||
filename | String | The location of the file on disk |
Résultat | bool |
public metadata ( ) : Newtonsoft.Json.Linq.JObject | ||
Résultat | Newtonsoft.Json.Linq.JObject |
public refresh ( String filename ) : bool | ||
filename | String | The location of the file to overwrite the dataset with |
Résultat | bool |
public refresh ( String filename, bool skipHeaders ) : bool | ||
filename | String | The location of the file to overwrite the dataset with |
skipHeaders | bool | Whether to skip the first row of your import file |
Résultat | bool |
public rows ( ) : Newtonsoft.Json.Linq.JArray | ||
Résultat | Newtonsoft.Json.Linq.JArray |
public setAttribution ( String attribution, String url ) : void | ||
attribution | String | Name of the data source/organization |
url | String | An optional link to the data source |
Résultat | void |
public setDescription ( String description ) : void | ||
description | String | The description |
Résultat | void |
public setPublic ( bool isPublic ) : bool | ||
isPublic | bool | Whether or not it should be publicly viewable |
Résultat | bool |
public uploadFile ( String filename ) : String | ||
filename | String | Where the file is located on disk |
Résultat | String |