Comments (7)
Here's where the demos are pulled in: https://github.com/simonw/datasette-app-support/blob/ee8a05ba1dd55734d2b99c9bd774ebb8e9790d7c/datasette_app_support/templates/index.html#L70
From https://datasette.io/content/example_csvs.json?_shape=array
And the URL to the CSV in this is now a 404:
{
"rowid": 2,
"url": "https://data.london.gov.uk/download/animal-rescue-incidents-attended-by-lfb/8a7d91c2-9aec-4bde-937a-3998f4717cd8/Animal%20Rescue%20incidents%20attended%20by%20LFB%20from%20Jan%202009.csv",
"name": "Animal rescue incidents attended by the London Fire Brigade",
"table_name": "london_fire_brigade_animal_rescues",
"source": "London Datastore",
"source_url": "https://data.london.gov.uk/dataset/animal-rescue-incidents-attended-by-lfb",
"about": null,
"about_url": null,
"description": "The London Fire Brigade attends a range of non-fire incidents, including assistance to animals that may be trapped or in distress. This data includes every such incident since January 2009, and is updated monthly."
}
from datasette-app.
from datasette-app.
I should set up a task to check that these don't 404 again in the future.
from datasette-app.
Fixing the URL didn't fix the feature, because the new URL 302 redirects but the datasette-app-support
feature doesn't automatically follow redirects.
I'm going to replace this example with something else for the moment, until I can implement and ship redirects.
from datasette-app.
Looks like all links on the London Datastore are redirects now, e.g.
% curl -i 'https://data.london.gov.uk/download/london-reservoir-levels/778eefb5-8cef-4d16-a4c8-77dee7ce7e81/london_reservoir_levels.csv'
HTTP/2 302
content-type: text/html; charset=UTF-8
location: https://airdrive-secure.s3-eu-west-1.amazonaws.com/london/dataset/london-reservoir-levels/2022-07-05T14%3A24%3A58/london_reservoir_levels.csv?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJJDIMAIVZJDICKHA%2F20220713%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220713T043817Z&X-Amz-Expires=300&X-Amz-Signature=32be2950e6e9e9be065adfc2af5e9c3e13acf43ff8272092cc2e5ac6d085bfdf&X-Amz-SignedHeaders=host
They redirect to signed expiring URLs too.
from datasette-app.
I'll use Global Power Plants: https://github.com/wri/global-power-plant-database/raw/master/output_database/global_power_plant_database.csv
from datasette-app.
Fixed it.
from datasette-app.
Related Issues (20)
- Can't "go back" after choosing view as JSON or CSV and saving/storing queries in underlying SQLite
- Allow for load / open of data from URL where CSV (or JSON?) is compressed
- Allow handling of larger CSV files e.g. CFPB complaints data HOT 1
- Switch to Playwright for automated tests HOT 28
- Failing to render in retina resolution when running on my MacBook Pro (macOS Catalina) HOT 1
- Research faster launch times
- Mechanism for plugins that need a specific DB HOT 3
- "Loading..." hangs on launch after parsing "tag_name" in a plugin HOT 6
- npm test is failing HOT 2
- All sorts of features not working due to bad HTTP requests HOT 9
- Import CSV from URL should show errors
- New Playwright tests should exercise key features
- Ability to use templates
- The icon looks blurry in the alt-tab window
- Loading... hangs on launch with packaging.version.InvalidVersion HOT 6
- "About Datasette" button fails to open information window HOT 2
- Unable to load preload script HOT 14
- Global Power Plant database is not found. HOT 1
- plugin menu throws '500' error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datasette-app.