Hi All,
We are trying to build a model which would contain forecasting results flowing from Python. Please direct me to the best learning material from where I can work on this integration of Python / R with Anaplan
Thanks and regards,
Aishwarya
Hi Aishwarya,
Once you write data into a csv or txt file from Python or R, then you can easily import data into Anaplan.
You might want a direct integration into Anaplan, but i would stress that much can be learned from this MVP (minimum viable product), i.e.
1. Are we importing at the right granularity?
2. Is the header name constant?
3. Is the data format constant?
etc etc
Having said that, what do you think? @jesse_wilson
Thanks,
LipChean
Hi,Please refer to the Python library in our knowledge base. This covers all API functionality and saves you the time developing from scratch. Simply use the "steaming" upload functionality, this allows you to write data from memory to Anaplan. Please note, that you will have to handle the chunking of the data yourself, I couldn't come up with a elegant way to handle data chunking within this method when I wrote the library. If your data is anything under 50mb there's no problem, but anything over this and you will need to split the data up into smaller segments.Regards
Thank you so much @jesse_wilson and @LipChean_Soh !
We shall check what works best for us and communicate once successful
Hi,
@jesse_wilson
We tried implementing the Python library in knowledge base. We need to install the Modules Requests and M2Crypto to use this library. But we are unable to figure out how the modules with downloaded files work with the library. Also, we need more technical clarification on how the Java keystore script works. In addition to the above, please help us to find the private key for certificate authentication.
Jamuthira R
In order to download those modules, you simply need to use the pip (or pip3 depending which version of Python you're using) utility to fetch them. To obtain a keypair (public and private key), please review our article that discusses this topic in depth.
Once you've procured the certificate, you need to extract the public and private keys and edit per the above article, rebuild the p12 file, then create a Java keystore from this.
openssl pkcs12 -export -in <CERTIFICATE.pem> -inkey <PRIVATE_ KEY.pem> -out keystore_bundle.p12 -name
<KEYSTORE_ALIAS> -CAfile <CERTIFICATE.pem> -caname root
keytool -importkeystore -deststorepass <KEYSTORE-PASSWORD> - destkeystore my_keystore.jks
-srckeystore keystore_bundle.p12 -srcstoretype PKCS12
Please note that the password you set for the private key, the p12 bundle, and the keystore must all be the same or the library won't be able to read the private key from the keystore.
Thanks
Hello folks, Does anyone know how to work around the Polaris limitation of using the Formula or Ratio summary method alongside the Closing Balance within the same line item? I have a Business Unit list where the total (All BUs) must display the Corporate (1 of 20 leaf items under All BUs total) number of Unique Customers.…
Hello community, I have an issue with anaplan report (functionality). The issue I have is within couple of slides. The data in that report is scrolling into a new page. There is a hierarchy in the rows and line items and time in the columns. My problem is, the hierarchy is getting broken in the second page. One of the node…
I want to create an S3 connection that will have monthly data stored in individual csv files that is connected to ADO. Around month end, data will be uploaded multiple times, replacing existing csvs. When this happens I want to replace the existing data for that month with the new file. I don't want to have to create a…