I am writing a plugin that needs to store data for a day (everyday). The data is retrieved from a CSV file.
I will be retrieving three columns of financial data (Fund ID, Fund Description and Price) from the CSV files. The Fund ID and Description will be text and the price will obviously be in a currency. The number of entries in each CSV file will be less than 100.
The data will then be used in various posts (by referencing a short code) but I have a question about how to store this data so that it is accessible from multiple posts. When I say used, the fund price will be displayed - that is all.
I can store data using the add_post_meta functionality within my WordPress plugin. But logically speaking that is storing the data in the context of a particular post. I imagine that I could just "choose" a post ID and always store (and retrieve) the data from there. I can think of all sorts of these weird schemes to get this right but I was wondering if there is an accepted way to do this without creating a custom table in the database. I am just looking to be nudged in the correct direction, any thoughts would be appreciated.
UPDATE: Thanks to @Jacob Peattie for the suggestion of refining the question.