File:Opasnet base connection.ANA: Difference between revisions
(uploaded a new version of "File:Opasnet base connection.ANA": Uploading part streamlined and corrected. Not all upload methods worked properly. There is still some problem.) |
(technical edits) |
||
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Opasnet]] | |||
[[Category:Opasnet Base]] | |||
[[Category:Analytica tool]] | [[Category:Analytica tool]] | ||
[[Category:SQL tool]] | [[Category:SQL tool]] | ||
[[Category:Open assessment]] | [[Category:Open assessment]] | ||
{{tool|moderator=Jouni}} | {{tool|moderator=Jouni}} | ||
This | ''This page relates to old versions of [[Opasnet Base (2008-2011)]] and its connections. For the current database version, see [[Opasnet Base]]. | ||
This model is an interface for uploading data to and downloading it from the [[Opasnet Base]]. For using the file, you need [[Analytica]] Enterprise. | |||
[[Uploading to Opasnet Base]] helps you understand what data could and should be updated to [[Opasnet Base]] and what the recommended data structures and formats are. For technical instructions how to use the current upload software, see [[Opasnet Base connection]]. For a general description about the database, see [[Opasnet Base]] and for technical details about the database, see [[Opasnet Base structure]]. For details about downloading data, see [[Opasnet Base UI]]. | |||
'''Some key parts of OBC explained | |||
; Findid: This function gets an id from a table. It has the following parameters: '''in''': the property for which the id is needed. In MUST be unique in cond and it must contain index i. '''table''': the table from where the id is brought. The table MUST have .j as the column index, .i as the row index, and a column named 'id'. '''cond''': the name of the field that is compared with in. Cond must be text. | |||
;Textify: Changes a number to a text value with up to 15 significant numbers. This bypasses the number formatting problem that tends to convert e.g. 93341 to '93.34K'. If the input is null, the result is ''. | |||
==See also== | ==See also== | ||
* [[Opasnet Base Connection for R]] | |||
* [[Opasnet Base]] | * [[Opasnet Base]] | ||
* [[Opasnet Base structure]] | * [[Opasnet Base structure]] | ||
* [[Uploading to Opasnet Base]] | |||
* [[Opasnet Base UI]] | |||
* Previous version [[:image:RDB connection.ANA]] and [[:image:RDB reader.ANA]] were only for either reading or writing data. | * Previous version [[:image:RDB connection.ANA]] and [[:image:RDB reader.ANA]] were only for either reading or writing data. | ||
[[Category:Opasnet Base]] | [[Category:Opasnet Base]] | ||
* [http://cs.stanford.edu/people/thathoo/rmysql.pdf Guidance document for RMySQL] (the MySQL database connection for [[R]] software. | * [http://cs.stanford.edu/people/thathoo/rmysql.pdf Guidance document for RMySQL] (the MySQL database connection for [[R]] software. |
Latest revision as of 19:01, 10 April 2015
Moderator:Jouni (see all) |
|
Upload data
|
This page relates to old versions of Opasnet Base (2008-2011) and its connections. For the current database version, see Opasnet Base.
This model is an interface for uploading data to and downloading it from the Opasnet Base. For using the file, you need Analytica Enterprise.
Uploading to Opasnet Base helps you understand what data could and should be updated to Opasnet Base and what the recommended data structures and formats are. For technical instructions how to use the current upload software, see Opasnet Base connection. For a general description about the database, see Opasnet Base and for technical details about the database, see Opasnet Base structure. For details about downloading data, see Opasnet Base UI.
Some key parts of OBC explained
- Findid
- This function gets an id from a table. It has the following parameters: in: the property for which the id is needed. In MUST be unique in cond and it must contain index i. table: the table from where the id is brought. The table MUST have .j as the column index, .i as the row index, and a column named 'id'. cond: the name of the field that is compared with in. Cond must be text.
- Textify
- Changes a number to a text value with up to 15 significant numbers. This bypasses the number formatting problem that tends to convert e.g. 93341 to '93.34K'. If the input is null, the result is .
See also
- Opasnet Base Connection for R
- Opasnet Base
- Opasnet Base structure
- Uploading to Opasnet Base
- Opasnet Base UI
- Previous version image:RDB connection.ANA and image:RDB reader.ANA were only for either reading or writing data.
- Guidance document for RMySQL (the MySQL database connection for R software.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Dimensions | User | Comment | |
---|---|---|---|---|
current | 10:26, 21 August 2010 | (80 KB) | Jouni (talk | contribs) | Major simplifying revisions: lot of memory-saving improvements. Two input formats rejected. Intermediate nodes merged to save memory. Bugs corrected. |
19:30, 12 July 2010 | (92 KB) | Jouni (talk | contribs) | Now it is quick also with probabilistic data, as I changed while-do loop to for x[]:= b loop. In addition, the obs in a deterministic table is the row number, while before it was just zero. | |
13:42, 12 July 2010 | (92 KB) | Jouni (talk | contribs) | As expected, Cellrow node was too heavy with large data. This part was streamlined. Now it is quick and simple with deterministic data, but takes a long time with large probabilistic data (little memory need, though). | |
22:22, 11 July 2010 | (92 KB) | Jouni (talk | contribs) | Still some bugs found but it seems to work now. | |
05:05, 10 July 2010 | (107 KB) | Jouni (talk | contribs) | Model tested with several options and now it always works! This is now version 2.0. All descriptions were moved to file:Opasnet base connection.ANA (technical) and Uploading to Opasnet Base (method) and updated. | |
14:56, 9 July 2010 | (121 KB) | Jouni (talk | contribs) | Tested and now it works except bugs were found from W_Actobj and Cell, because they depend on uploaded tables and the update too fast. Maybe a static node in between solves this problem. | |
23:05, 8 July 2010 | (136 KB) | Jouni (talk | contribs) | Update finalised and first tests are successful. The code has become much simpler, it can even been understood by outsiders. | |
14:11, 8 July 2010 | (126 KB) | Jouni (talk | contribs) | Code streamlined. All different upload types seem to work to Data_table phase but not further. Added observise function to work with table-based prob data. | |
22:50, 7 July 2010 | (108 KB) | Jouni (talk | contribs) | Index info was rejected because it caused trouble with updating, was complex, and didn't bring anything essential. Some bugs removed. Should work now but haven't tested yet. Code starts to be simple and beautiful. Stuff moved to Old parts. | |
15:13, 7 July 2010 | (105 KB) | Jouni (talk | contribs) | Uploading part streamlined and corrected. Not all upload methods worked properly. There is still some problem. |
You cannot overwrite this file.
File usage
The following 3 pages use this file:
- File:RDB connection.ANA (file redirect)
- File:RDB reader.ANA (file redirect)
- File:Transferring to result database.ANA (file redirect)