Using phpMyAdmin data as source for choropleth mapbox - maven

I'm working on a project where I need to show how many documents are invalid per department on my web site, which is display with Maven.
The problem is, I'm using phpmyadmin for my database, and I didn't find a way to use it as a source for the choropleth map.
When I'm looking on Help topic on mapbox, there is only solutions with PostgreSQL and PostGIS.
The SQL request I need to use looks like this :
SELECT SUM(nbTransactionAnnule) FROM archivAnnule GROUP BY departement
I would like to know if someone have already had this problem, and how did you fix it?

Related

Media files from database into OBIEE

Does OBIEE support importing media files like photos that are stored in particular format in database tables?
For example if you are making an analysis with a client info and want to add client's picture to it, how is this possible in OBIEE? Does Admin tool work with them? Couldn't find useful info on this in the web, maybe someone here faced this issue?
It can be done with rtf template. If the data is comming from BLOB column in a table then after inserting the element in the form field you just have to update advanced part of property box to:
<fo:instream-foreign-object content-type="image/jpg">
<xsl:value-of select="YOUR_IMAGE_COLUMN_NAME"/>
</fo:instream-foreign-object>
The same way you could insert different content-types (MIME).
More here: https://docs.oracle.com/middleware/12211/bip/BIPRD/GUID-58D7E662-146A-44AA-86F9-111E2C6DB3A5.htm#BIPRD2396 Regards...

How Can I Create "Sub-Dashboards" in Looker?

Good morning, all you fine folks in Codelandia. I had a question for anyone out there who has experience using Looker, as I am very new to using this particular software.
I have been tasked to migrate multiple dashboards and visualizations to from our old interface to Looker, and I would like to add more organization to the new setup. The idea I have is to create one "master" dashboard with several sub-dashboards housed within in the master.
The idea would be something like this:
Is it possible that one of you knows if this is possible and/or how to do it?
Thank you!
You can utilize HTML in text boxes to create tabs on your dashboard (in essence links to a completely different dashboard). Here is an example: https://community.looker.com/dashboards-looks-7/tabbed-dashboard-14990
This might be as close as you're going to get.

How to get Infromation Link query from Spotfire Library Database

I am new to Tibco Spotfire and I am working on a query to retrieve the query used by/generated by Spotfire while designing an information link.
I have access to the Library DB which saves the metadata of all the items/elements used in dashboards and stuff like that. I have been able to locate the information link items in the DB but I can't find the actual query that is used by the information link.
I need a solution that can be implemented from the DB, UI solutions are already in use and I am looking to automate that manual process of going to each info-link and clicking the "SQL" button in the Information Designer tool
so far I have come across [this link] (https://support.tibco.com/s/article/How-to-find-the-manually-modified-SQL-query-used-by-a-particular-Information-Link) on Tibco's community forum but it doesn't show the autogenerated queries (only the manually modified queries).
Any and all help on this will be much appreciated
Thanks
This should be in the SQL logs on the server. Attempt to open the info link. Then, log into the server. Go to the folder where your spotfire installation is and find a folder that looks like this...
\Tibco\tss\10.3.6\tomcat\logs
...and you want the SQL.txt file. Search for your user name.

Which framework to design this web interface?

I would like to create a web page, which documents manually-inputted data about user permissions, that looks like below, which is really pulling data out of a MySQL table.
The way it should act is that whenever someone updates the table to overwrite a value, the old values are stored in a log as a "past revision" -- Which I have no problem on the database side, but I want those past revisions to show up behind the current data on the website, as seen below.
Someone needs to be able to see the current data at a glance, but also the past revisions that expand somehow when clicked. I want this done without having the page refreshed, so maybe jQuery or some active scripting?
That's the heart of the question here, is what technology can easily accomplish the needs of this interface? What do you guys recommend? Examples would be very beneficial. Thanks in advance.
You may try out SVG (along with some jquery for some rich interface):
http://www.w3schools.com/svg/default.asp

yii - form/modal based on mongodb

I am using mongo db in my yii project.
I am newbie in yii and mvc. I need to show some fields from database to user. And also allow them to edit those fields when they click edit. From what I know so far, I need a modal to create form. Modal should extend CActiveRecord (because I am allowing edit).
But I have no clue how this is going to work with mongodb ? Its very differnt from mysql (structure and fields are not definite in mongodb). Some users have field (column) abc while some do user do not have it.
I am looked into the mongodbsuite for yii. But its very hard for me to understand that at this level.
I am willing to write my own custom code, if someone can give me a direction. (or I'll have to write my own code destroying the feel of yii/mvc. Fetching everything and inserting into textboxes and then allow users to edit those)
I think this extension will help you. Pls check - YIIMongoDBSuite
What i suggest instead of writing your own code and doing testing to make it work, it is always better to shift to mysql,oracle or anything that Yii supports. it would save life
Yii Supports
SQLite
mysql
PostgreSQL
SQL Server
Oracle
It might be worth asking this question on the yiiframework forum
http://www.yiiframework.com/forum/
where there seem to be people actively using yii and mongodb.

Resources