Live link to csv from Numbers

I think this is simple. I have a csv file that gets updated regularly. I want a table within Numbers that gets updated dynamically when this csv file is updated. This is basic stuff in software, but Apple tends to be anal in allowing interoperability, which is so unfortunate. So, I’m assuming Apple is refusing to allow this, but, just in case, I’m asking here in case some one has a solution. And, btw, the file can exist somewhere on the cloud as a source if that makes it easier somehow, or even be fed to Numbers via scripting of some sort.


any ideas on this?

MacBook Pro 15″, macOS 11.2

Posted on Oct 14, 2021 11:23 AM

Reply
4 replies

Oct 14, 2021 5:55 PM in response to risingtiger42

And you think that is automatically importing a csv "file" as you wrote above?


Once you have more specific suggestions then you might try going to Numbers > Provide Numbers Feedback and making a suggestion to Apple (we're your fellow users here).


I wouldn't expect a response but I understand they do review the feedback as one input in formulating priorities for future development.


As you've discovered by now Numbers is not intended to be a clone of Excel or Google Sheets. It's got its strengths and they've got theirs.


SG

Oct 15, 2021 2:48 PM in response to risingtiger42

You can do simple stuff like this


set csvData to (do shell script "curl https://www.cps.gov.uk/sites/default/files/documents/data/case_outcomes/18-19-Q4/POC-18-19-q4.csv -o ~/desktop/data.csv")
set dataFilePath to (path to desktop from user domain as string) & "Data.csv"
tell application "Numbers"
	activate
	open file dataFilePath
end tell



From there on in you can make things as complicated as you like.


You can build scripts into Automator actions and run them with keyboard shortcuts, or you could run any number of scripts from Numbers' AppleScript menu. But as I'm sure you know, there is no way of maintaining a dynamic link between the .csv and the Numbers document.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Live link to csv from Numbers

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.