Skip to content

AgenceBio/schemas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

schemas

RPG Bio

Pour mettre à jour le champ resources

Le champ resources se récupère au format JSON dans le presse-papier du système d'exploitation en lançant cette commande :

curl -sSL https://www.data.gouv.fr/api/1/datasets/616d6531c2951bbe8bd97771/ |
  jq -r '.resources | map({ name: .title, path: .latest, format: (if .format == "geojson.gz" then "geojson" elif .format == "shp.zip" then "shapefile" else null end), mediatype: (if .format == "geojson.gz" then "application/json" elif .format == "shp.zip" then "application/octet-stream" else .mime end), schema: "./table.schema.json" })' |
  pbcopy

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published