Update Socrata dataset metadata through API - metadata

According to Socrata's "Publisher Guide":
The Publisher API allows you to programatically:
Add, update, and delete records within a Socrata dataset
Maintain dataset metadata and privacy settings
But I can't see anywhere in the API docs that explains how to do this. It's all about creating, updating or removing individual rows - nothing to do with dataset metadata.
For instance - how do you add a tag to an existing dataset, using the API?

Sorry if that statement is a little misleading. Metadata update is available officially through the soda-java library and unofficially through sodapy.
To understand properly, you're looking to update the set of tags programmatically on a set of datasets, and if I've read your profile correctly, it looks like you'll have access to the Socrata platform as a data publisher. Correct?

Related

Enabling enhanced measurement programatically

we are using an Admin API to programmatically create Data Streams for given properties - https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1beta/properties.dataStreams/create.
However all of the created Data Streams have enhanced measurement turned off by default. Is there or will there be a possibility to enable it together with the create request?
Thank you
Okay after a bit of digging
EnhancedMeasurementSettings we can find the following
EnhancedMeasurementSettings appear to only be for web DataStream's
Singleton resource under a WebDataStream, configuring measurement of additional site interactions and content.
The issue being is that this is only listed under alpha1 not the beta version of the api.
Then if we look a bit more we find
2021-10-12 EnhancedMeasurementSettings methods removed from the API.
Which seams to say its being removed but will be added back but its a year later and nothing.
I am going to ping the team and see when it will be added back.

How to get complete metadata of dataset in Palantir Foundry through API call?

I want to fetch complete metadata of the given dataset through API call. Can anyone please suggest how to fetch metadata
You actually already manipulate and interact with various forms of metadata inside your Transforms Python builds today, but in a way that is structured to be safe when reading and writing.
While not all forms of metadata are possible to access today, this generally is because of the desire to ensure product stability and good version controls of your builds.
That said, if there's a certain interaction with metadata you'd like to see in the product, I'd recommend reaching out to your support engineers with a feature request so they can understand your request more specifically and discuss with our product teams.

Is there a REST API to create a new Data Connection in InfoSphere?

I would like to programatically add a Data Connection to IBM Information Server using a REST API (just as I would by clicking 'Create Connection' in the UI) so that I can create associated Assets (e.g. Database, Schema, Table, Column)
I've reviewed the currently available APIs by going to [server]/ibm/iis/igc-rest-explorer/. I believe I would need a POST to /assets/, but the implementation notes state:
Create an asset by passing in a JSON object with the required and additional properties (currently supported: term, category, information_governance_policy, information_governance_rule, collection, label, data_class). Must include a '_type' field as well as all required fields.
This does not include the ability to add assets of id data_connection or any of the database_* ones. Is there a different approach (not sure if Open IGC is applicable or helpful) to be able to programatically add (create/POST) the aforementioned asset types?
You need to use Infosphere Information Metadata Asset Manager to create new data connections (via GUI or CLI).
Further details are available at https://www.ibm.com/support/knowledgecenter/en/SSZJPZ_11.5.0/com.ibm.swg.im.iis.mmi.doc/topics/r_imam_cmd_createdc.html

How to extract view meta data from tableau

I need to extract metadata from view. When I was reading tableau rest API documentation there is no ways mention in the rest api for sheet metadata and also not mention measure and dimension API extraction. If anyone knows the way how to extract data please help me
Take a look at the Tableau Javascript API...specifically the getData method.
The Rest API is used for automating Tableau Server tasks (add users, create schedules, set permissions, etc).
You can embed a hidden extension into your dashboard that can access worksheet, field and filter information. See the docs on extensions here.
Here is a good example of one that could get you started on pulling the worksheet and field information.
Use the Tableau Metadata API - https://help.tableau.com/current/api/metadata_api/en-us/index.html
You can find sample scripts here - https://github.com/tableau/metadata-api-samples

Programmatic export/dump/mass data retrieval (BaaS)

Does anyone have experiences with programmatic exports of data in conjunction with BaaS providers like e.g. parse.com or StackMob?
I am aware that both providers (as far as I can tell from the marketing talk) offer a REST API which will allow for queries against the database, not only to be used by mobile clients but also by e.g. custom web apps.
I am also aware that both providers offer a manual export of data (parse.com via their web interface, StackMob via support).
But lets say I would like to dump all data nightly, so that I can import it into a reporting system for instance. Or maybe simply to have an up-to-date backup.
In this case, I would need a programmatic way to export/replicate the data stored in the backend. Manual exports are not an option for obvious reasons.
The REST APIs offered however seem to be designed for specific queries, not for mass reads (performance?). Let alone the pricing - I assume none of the providers would be happy about a nightly X Gigabyte data export via their REST API, so their probably will be a price tag.
I just couldn't find any specific information on this topic so far, so I was wondering if anyone else has already gone through this. Also, any suggestions on StackMob/parse alternatives are welcome, especially if related to the data export topic.
Cheers, Alex
Did you see the section of the Parse REST API on Batch operations? Batch operations reduce the number of API calls needed to grab data so that you are not using a call for every row you retrieve. Keep in mind that there is still a limit (the default is 100, but you can set it to a maximum of 1000). That means you are still limited to pulling down 1000 rows per API call.
I can't comment on StackMob because I haven't used it. At my present job, we are using Parse and we wrote a C# app which compares the data in a Parse class with a SQL table and pulls down any changes.